mirror of
https://github.com/DanielnetoDotCom/YouPHPTube
synced 2025-10-03 01:39:24 +02:00
This commit is contained in:
parent
7673eda07e
commit
330cdbe615
9054 changed files with 480487 additions and 41800 deletions
|
@ -6,7 +6,7 @@
|
|||
"platform-check": false,
|
||||
"vendor-dir": "vendor",
|
||||
"platform": {
|
||||
"php": "7.3"
|
||||
"php": "8.1.5"
|
||||
}
|
||||
},
|
||||
"require": {
|
||||
|
|
1211
composer.lock
generated
1211
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -243,12 +243,10 @@ function convertVideoFileWithFFMPEG($fromFileLocation, $toFileLocation, $logFile
|
|||
} else {
|
||||
$progressFile = $logFile;
|
||||
}
|
||||
$progressFileEscaped = escapeshellarg($progressFile);
|
||||
$command .= " 1> {$progressFileEscaped} 2>&1";
|
||||
$command = removeUserAgentIfNotURL($command);
|
||||
_error_log("convertVideoFileWithFFMPEG try[{$try}]: " . $command . ' ' . json_encode(debug_backtrace()));
|
||||
_session_write_close();
|
||||
_mysql_close();
|
||||
_error_log("convertVideoFileWithFFMPEG try[{$try}]: " . $command . ' ' . json_encode(debug_backtrace()));
|
||||
exec($command, $output, $return);
|
||||
_session_start();
|
||||
_mysql_connect();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<?php
|
||||
|
||||
$videos_id = getVideos_id();
|
||||
|
||||
$isModeYouTube = 1;
|
||||
$trascription = Ai_responses::getTranscriptionVtt($videos_id);
|
||||
if (empty($trascription)) {
|
||||
?>
|
||||
|
@ -113,7 +113,7 @@ $bookmark = AVideoPlugin::isEnabledByName('Bookmark');
|
|||
<i class="fa-solid fa-minus"></i>
|
||||
</button>
|
||||
<div id="collapseBody<?= $key ?>" class="collapse"> <!-- Make sure this ID matches the button's data-target -->
|
||||
<p><?= htmlspecialchars($value->shortDescription) ?></p>
|
||||
<p><?= htmlspecialchars($value->textTranscription) ?></p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="panel-footer">
|
||||
|
|
2
vendor/abraham/twitteroauth/composer.json
vendored
2
vendor/abraham/twitteroauth/composer.json
vendored
|
@ -36,7 +36,7 @@
|
|||
}
|
||||
],
|
||||
"require": {
|
||||
"php": "^7.3 || ^7.4 || ^8.0",
|
||||
"php": "^7.4 || ^8.0 || ^8.1",
|
||||
"ext-curl": "*",
|
||||
"composer/ca-bundle": "^1.2"
|
||||
},
|
||||
|
|
751
vendor/abraham/twitteroauth/composer.lock
generated
vendored
751
vendor/abraham/twitteroauth/composer.lock
generated
vendored
File diff suppressed because it is too large
Load diff
53
vendor/abraham/twitteroauth/src/TwitterOAuth.php
vendored
53
vendor/abraham/twitteroauth/src/TwitterOAuth.php
vendored
|
@ -266,12 +266,16 @@ class TwitterOAuth extends Config
|
|||
*
|
||||
* @param string $path
|
||||
* @param array $parameters
|
||||
* @param bool $json
|
||||
*
|
||||
* @return array|object
|
||||
*/
|
||||
public function put(string $path, array $parameters = [])
|
||||
{
|
||||
return $this->http('PUT', self::API_HOST, $path, $parameters, false);
|
||||
public function put(
|
||||
string $path,
|
||||
array $parameters = [],
|
||||
bool $json = false
|
||||
) {
|
||||
return $this->http('PUT', self::API_HOST, $path, $parameters, $json);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -667,21 +671,22 @@ class TwitterOAuth extends Config
|
|||
break;
|
||||
case 'POST':
|
||||
$options[CURLOPT_POST] = true;
|
||||
if ($json) {
|
||||
$options[CURLOPT_HTTPHEADER][] =
|
||||
'Content-type: application/json';
|
||||
$options[CURLOPT_POSTFIELDS] = json_encode($postfields);
|
||||
} else {
|
||||
$options[CURLOPT_POSTFIELDS] = Util::buildHttpQuery(
|
||||
$postfields,
|
||||
);
|
||||
}
|
||||
$options = $this->setPostfieldsOptions(
|
||||
$options,
|
||||
$postfields,
|
||||
$json,
|
||||
);
|
||||
break;
|
||||
case 'DELETE':
|
||||
$options[CURLOPT_CUSTOMREQUEST] = 'DELETE';
|
||||
break;
|
||||
case 'PUT':
|
||||
$options[CURLOPT_CUSTOMREQUEST] = 'PUT';
|
||||
$options = $this->setPostfieldsOptions(
|
||||
$options,
|
||||
$postfields,
|
||||
$json,
|
||||
);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -761,4 +766,28 @@ class TwitterOAuth extends Config
|
|||
{
|
||||
return is_dir($path) ? CURLOPT_CAPATH : CURLOPT_CAINFO;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set options for JSON Requests
|
||||
*
|
||||
* @param array $options
|
||||
* @param array $postfields
|
||||
* @param bool $json
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
private function setPostfieldsOptions(
|
||||
array $options,
|
||||
array $postfields,
|
||||
bool $json
|
||||
): array {
|
||||
if ($json) {
|
||||
$options[CURLOPT_HTTPHEADER][] = 'Content-type: application/json';
|
||||
$options[CURLOPT_POSTFIELDS] = json_encode($postfields);
|
||||
} else {
|
||||
$options[CURLOPT_POSTFIELDS] = Util::buildHttpQuery($postfields);
|
||||
}
|
||||
|
||||
return $options;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -41,6 +41,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listComponentsAsync(array $args = [])
|
||||
* @method \Aws\Result listForms(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listFormsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result listThemes(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listThemesAsync(array $args = [])
|
||||
* @method \Aws\Result putMetadataFlag(array $args = [])
|
||||
|
@ -49,6 +51,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise refreshTokenAsync(array $args = [])
|
||||
* @method \Aws\Result startCodegenJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startCodegenJobAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateComponent(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateComponentAsync(array $args = [])
|
||||
* @method \Aws\Result updateForm(array $args = [])
|
||||
|
|
4
vendor/aws/aws-sdk-php/src/Api/DocModel.php
vendored
4
vendor/aws/aws-sdk-php/src/Api/DocModel.php
vendored
|
@ -90,8 +90,8 @@ class DocModel
|
|||
|
||||
$result = '';
|
||||
$d = $this->docs['shapes'][$shapeName];
|
||||
if (isset($d['refs']["{$parentName}\$${ref}"])) {
|
||||
$result = $d['refs']["{$parentName}\$${ref}"];
|
||||
if (isset($d['refs']["{$parentName}\${$ref}"])) {
|
||||
$result = $d['refs']["{$parentName}\${$ref}"];
|
||||
} elseif (isset($d['base'])) {
|
||||
$result = $d['base'];
|
||||
}
|
||||
|
|
|
@ -69,6 +69,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getFunctionAsync(array $args = [])
|
||||
* @method \Aws\Result getGraphqlApi(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGraphqlApiAsync(array $args = [])
|
||||
* @method \Aws\Result getGraphqlApiEnvironmentVariables(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGraphqlApiEnvironmentVariablesAsync(array $args = [])
|
||||
* @method \Aws\Result getIntrospectionSchema(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getIntrospectionSchemaAsync(array $args = [])
|
||||
* @method \Aws\Result getResolver(array $args = [])
|
||||
|
@ -101,6 +103,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listTypesAsync(array $args = [])
|
||||
* @method \Aws\Result listTypesByAssociation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTypesByAssociationAsync(array $args = [])
|
||||
* @method \Aws\Result putGraphqlApiEnvironmentVariables(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise putGraphqlApiEnvironmentVariablesAsync(array $args = [])
|
||||
* @method \Aws\Result startDataSourceIntrospection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startDataSourceIntrospectionAsync(array $args = [])
|
||||
* @method \Aws\Result startSchemaCreation(array $args = [])
|
||||
|
|
21
vendor/aws/aws-sdk-php/src/Artifact/ArtifactClient.php
vendored
Normal file
21
vendor/aws/aws-sdk-php/src/Artifact/ArtifactClient.php
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
namespace Aws\Artifact;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **AWS Artifact** service.
|
||||
* @method \Aws\Result getAccountSettings(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAccountSettingsAsync(array $args = [])
|
||||
* @method \Aws\Result getReport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getReportAsync(array $args = [])
|
||||
* @method \Aws\Result getReportMetadata(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getReportMetadataAsync(array $args = [])
|
||||
* @method \Aws\Result getTermForReport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getTermForReportAsync(array $args = [])
|
||||
* @method \Aws\Result listReports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listReportsAsync(array $args = [])
|
||||
* @method \Aws\Result putAccountSettings(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise putAccountSettingsAsync(array $args = [])
|
||||
*/
|
||||
class ArtifactClient extends AwsClient {}
|
9
vendor/aws/aws-sdk-php/src/Artifact/Exception/ArtifactException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/Artifact/Exception/ArtifactException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\Artifact\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **AWS Artifact** service.
|
||||
*/
|
||||
class ArtifactException extends AwsException {}
|
9
vendor/aws/aws-sdk-php/src/AwsClient.php
vendored
9
vendor/aws/aws-sdk-php/src/AwsClient.php
vendored
|
@ -548,7 +548,7 @@ class AwsClient implements AwsClientInterface
|
|||
if (!empty($paramDefinitions = $api->getClientContextParams())) {
|
||||
foreach($paramDefinitions as $paramName => $paramValue) {
|
||||
if (isset($args[$paramName])) {
|
||||
$result[$paramName] = $args[$paramName];
|
||||
$resolvedParams[$paramName] = $args[$paramName];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -564,7 +564,12 @@ class AwsClient implements AwsClientInterface
|
|||
$config = $this->getConfig();
|
||||
$service = $args['service'];
|
||||
|
||||
$builtIns['SDK::Endpoint'] = isset($args['endpoint']) ? $args['endpoint'] : null;
|
||||
$builtIns['SDK::Endpoint'] = null;
|
||||
if (!empty($args['endpoint'])) {
|
||||
$builtIns['SDK::Endpoint'] = $args['endpoint'];
|
||||
} elseif (isset($config['configured_endpoint_url'])) {
|
||||
$builtIns['SDK::Endpoint'] = (string) $this->getEndpoint();
|
||||
}
|
||||
$builtIns['AWS::Region'] = $this->getRegion();
|
||||
$builtIns['AWS::UseFIPS'] = $config['use_fips_endpoint']->isUseFipsEndpoint();
|
||||
$builtIns['AWS::UseDualStack'] = $config['use_dual_stack_endpoint']->isUseDualstackEndpoint();
|
||||
|
|
55
vendor/aws/aws-sdk-php/src/Chatbot/ChatbotClient.php
vendored
Normal file
55
vendor/aws/aws-sdk-php/src/Chatbot/ChatbotClient.php
vendored
Normal file
|
@ -0,0 +1,55 @@
|
|||
<?php
|
||||
namespace Aws\Chatbot;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **chatbot** service.
|
||||
* @method \Aws\Result createChimeWebhookConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createChimeWebhookConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createMicrosoftTeamsChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createMicrosoftTeamsChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createSlackChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createSlackChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteChimeWebhookConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteChimeWebhookConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMicrosoftTeamsChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMicrosoftTeamsChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMicrosoftTeamsConfiguredTeam(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMicrosoftTeamsConfiguredTeamAsync(array $args = [])
|
||||
* @method \Aws\Result deleteMicrosoftTeamsUserIdentity(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteMicrosoftTeamsUserIdentityAsync(array $args = [])
|
||||
* @method \Aws\Result deleteSlackChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteSlackChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteSlackUserIdentity(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteSlackUserIdentityAsync(array $args = [])
|
||||
* @method \Aws\Result deleteSlackWorkspaceAuthorization(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteSlackWorkspaceAuthorizationAsync(array $args = [])
|
||||
* @method \Aws\Result describeChimeWebhookConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeChimeWebhookConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result describeSlackChannelConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeSlackChannelConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result describeSlackUserIdentities(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeSlackUserIdentitiesAsync(array $args = [])
|
||||
* @method \Aws\Result describeSlackWorkspaces(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeSlackWorkspacesAsync(array $args = [])
|
||||
* @method \Aws\Result getAccountPreferences(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAccountPreferencesAsync(array $args = [])
|
||||
* @method \Aws\Result getMicrosoftTeamsChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getMicrosoftTeamsChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result listMicrosoftTeamsChannelConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMicrosoftTeamsChannelConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listMicrosoftTeamsConfiguredTeams(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMicrosoftTeamsConfiguredTeamsAsync(array $args = [])
|
||||
* @method \Aws\Result listMicrosoftTeamsUserIdentities(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listMicrosoftTeamsUserIdentitiesAsync(array $args = [])
|
||||
* @method \Aws\Result updateAccountPreferences(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateAccountPreferencesAsync(array $args = [])
|
||||
* @method \Aws\Result updateChimeWebhookConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateChimeWebhookConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateMicrosoftTeamsChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateMicrosoftTeamsChannelConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateSlackChannelConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateSlackChannelConfigurationAsync(array $args = [])
|
||||
*/
|
||||
class ChatbotClient extends AwsClient {}
|
9
vendor/aws/aws-sdk-php/src/Chatbot/Exception/ChatbotException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/Chatbot/Exception/ChatbotException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\Chatbot\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **chatbot** service.
|
||||
*/
|
||||
class ChatbotException extends AwsException {}
|
|
@ -1181,6 +1181,10 @@ class ClientResolver
|
|||
);
|
||||
}
|
||||
|
||||
if (!empty($value)) {
|
||||
$args['config']['configured_endpoint_url'] = true;
|
||||
}
|
||||
|
||||
return $value;
|
||||
}
|
||||
|
||||
|
|
|
@ -224,6 +224,26 @@ abstract class AbstractMonitoringMiddleware
|
|||
return $event;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Checks if the socket is created. If PHP version is greater or equals to 8 then,
|
||||
* it will check if the var is instance of \Socket otherwise it will check if is
|
||||
* a resource.
|
||||
*
|
||||
* @return bool Returns true if the socket is created, false otherwise.
|
||||
*/
|
||||
private function isSocketCreated(): bool
|
||||
{
|
||||
// Before version 8, sockets are resources
|
||||
// After version 8, sockets are instances of Socket
|
||||
if (PHP_MAJOR_VERSION >= 8) {
|
||||
$socketClass = '\Socket';
|
||||
return self::$socket instanceof $socketClass;
|
||||
} else {
|
||||
return is_resource(self::$socket);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a UDP socket resource and stores it with the class, or retrieves
|
||||
* it if already instantiated and connected. Handles error-checking and
|
||||
|
@ -235,7 +255,7 @@ abstract class AbstractMonitoringMiddleware
|
|||
*/
|
||||
private function prepareSocket($forceNewConnection = false)
|
||||
{
|
||||
if (!is_resource(self::$socket)
|
||||
if (!$this->isSocketCreated()
|
||||
|| $forceNewConnection
|
||||
|| socket_last_error(self::$socket)
|
||||
) {
|
||||
|
|
|
@ -18,6 +18,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise continueUpdateRollbackAsync(array $args = [])
|
||||
* @method \Aws\Result createChangeSet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createChangeSetAsync(array $args = [])
|
||||
* @method \Aws\Result createGeneratedTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createGeneratedTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result createStack(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createStackAsync(array $args = [])
|
||||
* @method \Aws\Result createStackInstances(array $args = [])
|
||||
|
@ -30,6 +32,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deactivateTypeAsync(array $args = [])
|
||||
* @method \Aws\Result deleteChangeSet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteChangeSetAsync(array $args = [])
|
||||
* @method \Aws\Result deleteGeneratedTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteGeneratedTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result deleteStack(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteStackAsync(array $args = [])
|
||||
* @method \Aws\Result deleteStackInstances(array $args = [])
|
||||
|
@ -44,10 +48,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise describeChangeSetAsync(array $args = [])
|
||||
* @method \Aws\Result describeChangeSetHooks(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeChangeSetHooksAsync(array $args = [])
|
||||
* @method \Aws\Result describeGeneratedTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeGeneratedTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result describeOrganizationsAccess(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeOrganizationsAccessAsync(array $args = [])
|
||||
* @method \Aws\Result describePublisher(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describePublisherAsync(array $args = [])
|
||||
* @method \Aws\Result describeResourceScan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeResourceScanAsync(array $args = [])
|
||||
* @method \Aws\Result describeStackDriftDetectionStatus(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeStackDriftDetectionStatusAsync(array $args = [])
|
||||
* @method \Aws\Result describeStackEvents(array $args = [])
|
||||
|
@ -80,6 +88,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise estimateTemplateCostAsync(array $args = [])
|
||||
* @method \Aws\Result executeChangeSet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise executeChangeSetAsync(array $args = [])
|
||||
* @method \Aws\Result getGeneratedTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGeneratedTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result getStackPolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getStackPolicyAsync(array $args = [])
|
||||
* @method \Aws\Result getTemplate(array $args = [])
|
||||
|
@ -92,8 +102,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listChangeSetsAsync(array $args = [])
|
||||
* @method \Aws\Result listExports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listExportsAsync(array $args = [])
|
||||
* @method \Aws\Result listGeneratedTemplates(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listGeneratedTemplatesAsync(array $args = [])
|
||||
* @method \Aws\Result listImports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listImportsAsync(array $args = [])
|
||||
* @method \Aws\Result listResourceScanRelatedResources(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listResourceScanRelatedResourcesAsync(array $args = [])
|
||||
* @method \Aws\Result listResourceScanResources(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listResourceScanResourcesAsync(array $args = [])
|
||||
* @method \Aws\Result listResourceScans(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listResourceScansAsync(array $args = [])
|
||||
* @method \Aws\Result listStackInstanceResourceDrifts(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listStackInstanceResourceDriftsAsync(array $args = [])
|
||||
* @method \Aws\Result listStackInstances(array $args = [])
|
||||
|
@ -132,10 +150,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise setTypeDefaultVersionAsync(array $args = [])
|
||||
* @method \Aws\Result signalResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise signalResourceAsync(array $args = [])
|
||||
* @method \Aws\Result startResourceScan(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startResourceScanAsync(array $args = [])
|
||||
* @method \Aws\Result stopStackSetOperation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopStackSetOperationAsync(array $args = [])
|
||||
* @method \Aws\Result testType(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise testTypeAsync(array $args = [])
|
||||
* @method \Aws\Result updateGeneratedTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateGeneratedTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result updateStack(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateStackAsync(array $args = [])
|
||||
* @method \Aws\Result updateStackInstances(array $args = [])
|
||||
|
|
16
vendor/aws/aws-sdk-php/src/CloudFront/Signer.php
vendored
16
vendor/aws/aws-sdk-php/src/CloudFront/Signer.php
vendored
|
@ -72,6 +72,7 @@ class Signer
|
|||
* @return array The values needed to construct a signed URL or cookie
|
||||
* @throws \InvalidArgumentException when not provided either a policy or a
|
||||
* resource and a expires
|
||||
* @throws \RuntimeException when generated signature is empty
|
||||
*
|
||||
* @link http://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/private-content-signed-cookies.html
|
||||
*/
|
||||
|
@ -113,7 +114,20 @@ class Signer
|
|||
private function sign($policy)
|
||||
{
|
||||
$signature = '';
|
||||
openssl_sign($policy, $signature, $this->pkHandle);
|
||||
|
||||
if(!openssl_sign($policy, $signature, $this->pkHandle)) {
|
||||
$errorMessages = [];
|
||||
while(($newMessage = openssl_error_string()) !== false) {
|
||||
$errorMessages[] = $newMessage;
|
||||
}
|
||||
|
||||
$exceptionMessage = "An error has occurred when signing the policy";
|
||||
if (count($errorMessages) > 0) {
|
||||
$exceptionMessage = implode("\n", $errorMessages);
|
||||
}
|
||||
|
||||
throw new \RuntimeException($exceptionMessage);
|
||||
}
|
||||
|
||||
return $signature;
|
||||
}
|
||||
|
|
|
@ -60,6 +60,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listImportFailuresAsync(array $args = [])
|
||||
* @method \Aws\Result listImports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listImportsAsync(array $args = [])
|
||||
* @method \Aws\Result listInsightsMetricData(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listInsightsMetricDataAsync(array $args = [])
|
||||
* @method \Aws\Result listPublicKeys(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPublicKeysAsync(array $args = [])
|
||||
* @method \Aws\Result listQueries(array $args = [])
|
||||
|
|
|
@ -11,12 +11,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise batchGetBuildBatchesAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetBuilds(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetBuildsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetFleets(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetFleetsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetProjects(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetProjectsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetReportGroups(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetReportGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result batchGetReports(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise batchGetReportsAsync(array $args = [])
|
||||
* @method \Aws\Result createFleet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createFleetAsync(array $args = [])
|
||||
* @method \Aws\Result createProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createProjectAsync(array $args = [])
|
||||
* @method \Aws\Result createReportGroup(array $args = [])
|
||||
|
@ -25,6 +29,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createWebhookAsync(array $args = [])
|
||||
* @method \Aws\Result deleteBuildBatch(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteBuildBatchAsync(array $args = [])
|
||||
* @method \Aws\Result deleteFleet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteFleetAsync(array $args = [])
|
||||
* @method \Aws\Result deleteProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteProjectAsync(array $args = [])
|
||||
* @method \Aws\Result deleteReport(array $args = [])
|
||||
|
@ -59,6 +65,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listBuildsForProjectAsync(array $args = [])
|
||||
* @method \Aws\Result listCuratedEnvironmentImages(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCuratedEnvironmentImagesAsync(array $args = [])
|
||||
* @method \Aws\Result listFleets(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listFleetsAsync(array $args = [])
|
||||
* @method \Aws\Result listProjects(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listProjectsAsync(array $args = [])
|
||||
* @method \Aws\Result listReportGroups(array $args = [])
|
||||
|
@ -87,6 +95,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise stopBuildAsync(array $args = [])
|
||||
* @method \Aws\Result stopBuildBatch(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopBuildBatchAsync(array $args = [])
|
||||
* @method \Aws\Result updateFleet(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateFleetAsync(array $args = [])
|
||||
* @method \Aws\Result updateProject(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateProjectAsync(array $args = [])
|
||||
* @method \Aws\Result updateProjectVisibility(array $args = [])
|
||||
|
|
|
@ -25,6 +25,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteDomainAsync(array $args = [])
|
||||
* @method \Aws\Result getCase(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCaseAsync(array $args = [])
|
||||
* @method \Aws\Result getCaseAuditEvents(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCaseAuditEventsAsync(array $args = [])
|
||||
* @method \Aws\Result getCaseEventConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCaseEventConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getDomain(array $args = [])
|
||||
|
|
|
@ -9,30 +9,48 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createLandingZoneAsync(array $args = [])
|
||||
* @method \Aws\Result deleteLandingZone(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteLandingZoneAsync(array $args = [])
|
||||
* @method \Aws\Result disableBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result disableControl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise disableControlAsync(array $args = [])
|
||||
* @method \Aws\Result enableBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result enableControl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableControlAsync(array $args = [])
|
||||
* @method \Aws\Result getBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result getBaselineOperation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getBaselineOperationAsync(array $args = [])
|
||||
* @method \Aws\Result getControlOperation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getControlOperationAsync(array $args = [])
|
||||
* @method \Aws\Result getEnabledBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getEnabledBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result getEnabledControl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getEnabledControlAsync(array $args = [])
|
||||
* @method \Aws\Result getLandingZone(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getLandingZoneAsync(array $args = [])
|
||||
* @method \Aws\Result getLandingZoneOperation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getLandingZoneOperationAsync(array $args = [])
|
||||
* @method \Aws\Result listBaselines(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBaselinesAsync(array $args = [])
|
||||
* @method \Aws\Result listEnabledBaselines(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEnabledBaselinesAsync(array $args = [])
|
||||
* @method \Aws\Result listEnabledControls(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listEnabledControlsAsync(array $args = [])
|
||||
* @method \Aws\Result listLandingZones(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listLandingZonesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result resetEnabledBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resetEnabledBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result resetLandingZone(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise resetLandingZoneAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateEnabledBaseline(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateEnabledBaselineAsync(array $args = [])
|
||||
* @method \Aws\Result updateEnabledControl(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateEnabledControlAsync(array $args = [])
|
||||
* @method \Aws\Result updateLandingZone(array $args = [])
|
||||
|
|
|
@ -25,6 +25,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getAnomalyMonitorsAsync(array $args = [])
|
||||
* @method \Aws\Result getAnomalySubscriptions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getAnomalySubscriptionsAsync(array $args = [])
|
||||
* @method \Aws\Result getApproximateUsageRecords(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getApproximateUsageRecordsAsync(array $args = [])
|
||||
* @method \Aws\Result getCostAndUsage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCostAndUsageAsync(array $args = [])
|
||||
* @method \Aws\Result getCostAndUsageWithResources(array $args = [])
|
||||
|
|
35
vendor/aws/aws-sdk-php/src/Credentials/CredentialsUtils.php
vendored
Normal file
35
vendor/aws/aws-sdk-php/src/Credentials/CredentialsUtils.php
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
namespace Aws\Credentials;
|
||||
|
||||
final class CredentialsUtils
|
||||
{
|
||||
/**
|
||||
* Determines whether a given host
|
||||
* is a loopback address.
|
||||
*
|
||||
* @param $host
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public static function isLoopBackAddress($host): bool
|
||||
{
|
||||
if (!filter_var($host, FILTER_VALIDATE_IP)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
|
||||
if ($host === '::1') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$loopbackStart = ip2long('127.0.0.0');
|
||||
$loopbackEnd = ip2long('127.255.255.255');
|
||||
$ipLong = ip2long($host);
|
||||
|
||||
return ($ipLong >= $loopbackStart && $ipLong <= $loopbackEnd);
|
||||
}
|
||||
}
|
|
@ -192,7 +192,7 @@ class EcsCredentialProvider
|
|||
if ($host !== $ecsHost
|
||||
&& $host !== $eksHost
|
||||
&& $host !== self::EKS_SERVER_HOST_IPV6
|
||||
&& !$this->isLoopbackAddress(gethostbyname($host))
|
||||
&& !CredentialsUtils::isLoopBackAddress(gethostbyname($host))
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
@ -200,33 +200,4 @@ class EcsCredentialProvider
|
|||
|
||||
return true;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines whether or not a given host
|
||||
* is a loopback address.
|
||||
*
|
||||
* @param $host
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
private function isLoopbackAddress($host)
|
||||
{
|
||||
if (!filter_var($host, FILTER_VALIDATE_IP)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (filter_var($host, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) {
|
||||
if ($host === '::1') {
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
$loopbackStart = ip2long('127.0.0.0');
|
||||
$loopbackEnd = ip2long('127.255.255.255');
|
||||
$ipLong = ip2long($host);
|
||||
|
||||
return ($ipLong >= $loopbackStart && $ipLong <= $loopbackEnd);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,17 +16,22 @@ use Psr\Http\Message\ResponseInterface;
|
|||
*/
|
||||
class InstanceProfileProvider
|
||||
{
|
||||
const SERVER_URI = 'http://169.254.169.254/latest/';
|
||||
const CRED_PATH = 'meta-data/iam/security-credentials/';
|
||||
const TOKEN_PATH = 'api/token';
|
||||
const ENV_DISABLE = 'AWS_EC2_METADATA_DISABLED';
|
||||
const ENV_TIMEOUT = 'AWS_METADATA_SERVICE_TIMEOUT';
|
||||
const ENV_RETRIES = 'AWS_METADATA_SERVICE_NUM_ATTEMPTS';
|
||||
const CFG_EC2_METADATA_V1_DISABLED = 'ec2_metadata_v1_disabled';
|
||||
const CFG_EC2_METADATA_SERVICE_ENDPOINT = 'ec2_metadata_service_endpoint';
|
||||
const CFG_EC2_METADATA_SERVICE_ENDPOINT_MODE = 'ec2_metadata_service_endpoint_mode';
|
||||
const DEFAULT_TIMEOUT = 1.0;
|
||||
const DEFAULT_RETRIES = 3;
|
||||
const DEFAULT_TOKEN_TTL_SECONDS = 21600;
|
||||
const DEFAULT_AWS_EC2_METADATA_V1_DISABLED = false;
|
||||
const ENDPOINT_MODE_IPv4 = 'IPv4';
|
||||
const ENDPOINT_MODE_IPv6 = 'IPv6';
|
||||
const DEFAULT_METADATA_SERVICE_IPv4_ENDPOINT = 'http://169.254.169.254';
|
||||
const DEFAULT_METADATA_SERVICE_IPv6_ENDPOINT = 'http://[fd00:ec2::254]';
|
||||
|
||||
/** @var string */
|
||||
private $profile;
|
||||
|
@ -49,6 +54,12 @@ class InstanceProfileProvider
|
|||
/** @var bool|null */
|
||||
private $ec2MetadataV1Disabled;
|
||||
|
||||
/** @var string */
|
||||
private $endpoint;
|
||||
|
||||
/** @var string */
|
||||
private $endpointMode;
|
||||
|
||||
/**
|
||||
* The constructor accepts the following options:
|
||||
*
|
||||
|
@ -56,6 +67,11 @@ class InstanceProfileProvider
|
|||
* - profile: Optional EC2 profile name, if known.
|
||||
* - retries: Optional number of retries to be attempted.
|
||||
* - ec2_metadata_v1_disabled: Optional for disabling the fallback to IMDSv1.
|
||||
* - endpoint: Optional for overriding the default endpoint to be used for fetching credentials.
|
||||
* The value must contain a valid URI scheme. If the URI scheme is not https, it must
|
||||
* resolve to a loopback address.
|
||||
* - endpoint_mode: Optional for overriding the default endpoint mode (IPv4|IPv6) to be used for
|
||||
* resolving the default endpoint.
|
||||
*
|
||||
* @param array $config Configuration options.
|
||||
*/
|
||||
|
@ -66,6 +82,12 @@ class InstanceProfileProvider
|
|||
$this->retries = (int) getenv(self::ENV_RETRIES) ?: ($config['retries'] ?? self::DEFAULT_RETRIES);
|
||||
$this->client = $config['client'] ?? \Aws\default_http_handler();
|
||||
$this->ec2MetadataV1Disabled = $config[self::CFG_EC2_METADATA_V1_DISABLED] ?? null;
|
||||
$this->endpoint = $config[self::CFG_EC2_METADATA_SERVICE_ENDPOINT] ?? null;
|
||||
if (!empty($this->endpoint) && !$this->isValidEndpoint($this->endpoint)) {
|
||||
throw new \InvalidArgumentException('The provided URI "' . $this->endpoint . '" is invalid, or contains an unsupported host');
|
||||
}
|
||||
|
||||
$this->endpointMode = $config[self::CFG_EC2_METADATA_SERVICE_ENDPOINT_MODE] ?? null;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -227,7 +249,7 @@ class InstanceProfileProvider
|
|||
}
|
||||
|
||||
$fn = $this->client;
|
||||
$request = new Request($method, self::SERVER_URI . $url);
|
||||
$request = new Request($method, $this->resolveEndpoint() . $url);
|
||||
$userAgent = 'aws-sdk-php/' . Sdk::VERSION;
|
||||
if (defined('HHVM_VERSION')) {
|
||||
$userAgent .= ' HHVM/' . HHVM_VERSION;
|
||||
|
@ -329,4 +351,110 @@ class InstanceProfileProvider
|
|||
|
||||
return !$isImdsV1Disabled;
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves the metadata service endpoint. If the endpoint is not provided
|
||||
* or configured then, the default endpoint, based on the endpoint mode resolved,
|
||||
* will be used.
|
||||
* Example: if endpoint_mode is resolved to be IPv4 and the endpoint is not provided
|
||||
* then, the endpoint to be used will be http://169.254.169.254.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function resolveEndpoint(): string
|
||||
{
|
||||
$endpoint = $this->endpoint;
|
||||
if (is_null($endpoint)) {
|
||||
$endpoint = ConfigurationResolver::resolve(
|
||||
self::CFG_EC2_METADATA_SERVICE_ENDPOINT,
|
||||
$this->getDefaultEndpoint(),
|
||||
'string',
|
||||
['use_aws_shared_config_files' => true]
|
||||
);
|
||||
}
|
||||
|
||||
if (!$this->isValidEndpoint($endpoint)) {
|
||||
throw new CredentialsException('The provided URI "' . $endpoint . '" is invalid, or contains an unsupported host');
|
||||
}
|
||||
|
||||
if (substr($endpoint, strlen($endpoint) - 1) !== '/') {
|
||||
$endpoint = $endpoint . '/';
|
||||
}
|
||||
|
||||
return $endpoint . 'latest/';
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves the default metadata service endpoint.
|
||||
* If endpoint_mode is resolved as IPv4 then:
|
||||
* - endpoint = http://169.254.169.254
|
||||
* If endpoint_mode is resolved as IPv6 then:
|
||||
* - endpoint = http://[fd00:ec2::254]
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function getDefaultEndpoint(): string
|
||||
{
|
||||
$endpointMode = $this->resolveEndpointMode();
|
||||
switch ($endpointMode) {
|
||||
case self::ENDPOINT_MODE_IPv4:
|
||||
return self::DEFAULT_METADATA_SERVICE_IPv4_ENDPOINT;
|
||||
case self::ENDPOINT_MODE_IPv6:
|
||||
return self::DEFAULT_METADATA_SERVICE_IPv6_ENDPOINT;
|
||||
}
|
||||
|
||||
throw new CredentialsException("Invalid endpoint mode '$endpointMode' resolved");
|
||||
}
|
||||
|
||||
/**
|
||||
* Resolves the endpoint mode to be considered when resolving the default
|
||||
* metadata service endpoint.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
private function resolveEndpointMode(): string
|
||||
{
|
||||
$endpointMode = $this->endpointMode;
|
||||
if (is_null($endpointMode)) {
|
||||
$endpointMode = ConfigurationResolver::resolve(
|
||||
self::CFG_EC2_METADATA_SERVICE_ENDPOINT_MODE,
|
||||
self::ENDPOINT_MODE_IPv4,
|
||||
'string',
|
||||
['use_aws_shared_config_files' => true]
|
||||
);
|
||||
}
|
||||
|
||||
return $endpointMode;
|
||||
}
|
||||
|
||||
/**
|
||||
* This method checks for whether a provide URI is valid.
|
||||
* @param string $uri this parameter is the uri to do the validation against to.
|
||||
*
|
||||
* @return string|null
|
||||
*/
|
||||
private function isValidEndpoint(
|
||||
$uri
|
||||
): bool
|
||||
{
|
||||
// We make sure first the provided uri is a valid URL
|
||||
$isValidURL = filter_var($uri, FILTER_VALIDATE_URL) !== false;
|
||||
if (!$isValidURL) {
|
||||
return false;
|
||||
}
|
||||
|
||||
// We make sure that if is a no secure host then it must be a loop back address.
|
||||
$parsedUri = parse_url($uri);
|
||||
if ($parsedUri['scheme'] !== 'https') {
|
||||
$host = trim($parsedUri['host'], '[]');
|
||||
|
||||
return CredentialsUtils::isLoopBackAddress(gethostbyname($host))
|
||||
|| in_array(
|
||||
$uri,
|
||||
[self::DEFAULT_METADATA_SERVICE_IPv4_ENDPOINT, self::DEFAULT_METADATA_SERVICE_IPv6_ENDPOINT]
|
||||
);
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -29,6 +29,11 @@ class AesGcmDecryptingStream implements AesStreamInterface
|
|||
|
||||
private $tagLength;
|
||||
|
||||
/**
|
||||
* @var StreamInterface
|
||||
*/
|
||||
private $stream;
|
||||
|
||||
/**
|
||||
* @param StreamInterface $cipherText
|
||||
* @param string $key
|
||||
|
@ -54,6 +59,9 @@ class AesGcmDecryptingStream implements AesStreamInterface
|
|||
$this->aad = $aad;
|
||||
$this->tagLength = $tagLength;
|
||||
$this->keySize = $keySize;
|
||||
// unsetting the property forces the first access to go through
|
||||
// __get().
|
||||
unset($this->stream);
|
||||
}
|
||||
|
||||
public function getOpenSslName()
|
||||
|
|
|
@ -29,6 +29,11 @@ class AesGcmEncryptingStream implements AesStreamInterface, AesStreamInterfaceV2
|
|||
|
||||
private $tagLength;
|
||||
|
||||
/**
|
||||
* @var StreamInterface
|
||||
*/
|
||||
private $stream;
|
||||
|
||||
/**
|
||||
* Same as non-static 'getAesName' method, allowing calls in a static
|
||||
* context.
|
||||
|
@ -63,6 +68,9 @@ class AesGcmEncryptingStream implements AesStreamInterface, AesStreamInterfaceV2
|
|||
$this->aad = $aad;
|
||||
$this->tagLength = $tagLength;
|
||||
$this->keySize = $keySize;
|
||||
// unsetting the property forces the first access to go through
|
||||
// __get().
|
||||
unset($this->stream);
|
||||
}
|
||||
|
||||
public function getOpenSslName()
|
||||
|
|
|
@ -5,6 +5,8 @@ use Aws\AwsClient;
|
|||
|
||||
/**
|
||||
* This client is used to interact with the **Amazon DocumentDB Elastic Clusters** service.
|
||||
* @method \Aws\Result copyClusterSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise copyClusterSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result createCluster(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createClusterAsync(array $args = [])
|
||||
* @method \Aws\Result createClusterSnapshot(array $args = [])
|
||||
|
@ -25,6 +27,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result restoreClusterFromSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise restoreClusterFromSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result startCluster(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startClusterAsync(array $args = [])
|
||||
* @method \Aws\Result stopCluster(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopClusterAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
|
|
|
@ -115,6 +115,8 @@ use Aws\RetryMiddlewareV2;
|
|||
* @method \GuzzleHttp\Promise\Promise updateGlobalTableAsync(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \Aws\Result updateGlobalTableSettings(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \GuzzleHttp\Promise\Promise updateGlobalTableSettingsAsync(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \Aws\Result updateKinesisStreamingDestination(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \GuzzleHttp\Promise\Promise updateKinesisStreamingDestinationAsync(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \Aws\Result updateTableReplicaAutoScaling(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \GuzzleHttp\Promise\Promise updateTableReplicaAutoScalingAsync(array $args = []) (supported in versions 2012-08-10)
|
||||
* @method \Aws\Result updateTimeToLive(array $args = []) (supported in versions 2012-08-10)
|
||||
|
|
|
@ -14,6 +14,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise associatePackageAsync(array $args = [])
|
||||
* @method \Aws\Result authorizeVpcEndpointAccess(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise authorizeVpcEndpointAccessAsync(array $args = [])
|
||||
* @method \Aws\Result cancelDomainConfigChange(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelDomainConfigChangeAsync(array $args = [])
|
||||
* @method \Aws\Result cancelElasticsearchServiceSoftwareUpdate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelElasticsearchServiceSoftwareUpdateAsync(array $args = [])
|
||||
* @method \Aws\Result createElasticsearchDomain(array $args = [])
|
||||
|
|
2
vendor/aws/aws-sdk-php/src/Emr/EmrClient.php
vendored
2
vendor/aws/aws-sdk-php/src/Emr/EmrClient.php
vendored
|
@ -104,6 +104,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise setKeepJobFlowAliveWhenNoStepsAsync(array $args = [])
|
||||
* @method \Aws\Result setTerminationProtection(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise setTerminationProtectionAsync(array $args = [])
|
||||
* @method \Aws\Result setUnhealthyNodeReplacement(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise setUnhealthyNodeReplacementAsync(array $args = [])
|
||||
* @method \Aws\Result setVisibleToAllUsers(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise setVisibleToAllUsersAsync(array $args = [])
|
||||
* @method \Aws\Result startNotebookExecution(array $args = [])
|
||||
|
|
10
vendor/aws/aws-sdk-php/src/IVS/IVSClient.php
vendored
10
vendor/aws/aws-sdk-php/src/IVS/IVSClient.php
vendored
|
@ -13,6 +13,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise batchStartViewerSessionRevocationAsync(array $args = [])
|
||||
* @method \Aws\Result createChannel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createChannelAsync(array $args = [])
|
||||
* @method \Aws\Result createPlaybackRestrictionPolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createPlaybackRestrictionPolicyAsync(array $args = [])
|
||||
* @method \Aws\Result createRecordingConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createRecordingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createStreamKey(array $args = [])
|
||||
|
@ -21,6 +23,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteChannelAsync(array $args = [])
|
||||
* @method \Aws\Result deletePlaybackKeyPair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePlaybackKeyPairAsync(array $args = [])
|
||||
* @method \Aws\Result deletePlaybackRestrictionPolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePlaybackRestrictionPolicyAsync(array $args = [])
|
||||
* @method \Aws\Result deleteRecordingConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteRecordingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteStreamKey(array $args = [])
|
||||
|
@ -29,6 +33,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getChannelAsync(array $args = [])
|
||||
* @method \Aws\Result getPlaybackKeyPair(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPlaybackKeyPairAsync(array $args = [])
|
||||
* @method \Aws\Result getPlaybackRestrictionPolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPlaybackRestrictionPolicyAsync(array $args = [])
|
||||
* @method \Aws\Result getRecordingConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getRecordingConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getStream(array $args = [])
|
||||
|
@ -43,6 +49,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listChannelsAsync(array $args = [])
|
||||
* @method \Aws\Result listPlaybackKeyPairs(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPlaybackKeyPairsAsync(array $args = [])
|
||||
* @method \Aws\Result listPlaybackRestrictionPolicies(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPlaybackRestrictionPoliciesAsync(array $args = [])
|
||||
* @method \Aws\Result listRecordingConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listRecordingConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listStreamKeys(array $args = [])
|
||||
|
@ -65,5 +73,7 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateChannel(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateChannelAsync(array $args = [])
|
||||
* @method \Aws\Result updatePlaybackRestrictionPolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updatePlaybackRestrictionPolicyAsync(array $args = [])
|
||||
*/
|
||||
class IVSClient extends AwsClient {}
|
||||
|
|
|
@ -23,12 +23,16 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise cancelFindingsReportAsync(array $args = [])
|
||||
* @method \Aws\Result cancelSbomExport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelSbomExportAsync(array $args = [])
|
||||
* @method \Aws\Result createCisScanConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createCisScanConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result createFilter(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createFilterAsync(array $args = [])
|
||||
* @method \Aws\Result createFindingsReport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createFindingsReportAsync(array $args = [])
|
||||
* @method \Aws\Result createSbomExport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createSbomExportAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCisScanConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCisScanConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result deleteFilter(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteFilterAsync(array $args = [])
|
||||
* @method \Aws\Result describeOrganizationConfiguration(array $args = [])
|
||||
|
@ -43,6 +47,10 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise enableAsync(array $args = [])
|
||||
* @method \Aws\Result enableDelegatedAdminAccount(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise enableDelegatedAdminAccountAsync(array $args = [])
|
||||
* @method \Aws\Result getCisScanReport(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCisScanReportAsync(array $args = [])
|
||||
* @method \Aws\Result getCisScanResultDetails(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getCisScanResultDetailsAsync(array $args = [])
|
||||
* @method \Aws\Result getConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result getDelegatedAdminAccount(array $args = [])
|
||||
|
@ -59,6 +67,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getSbomExportAsync(array $args = [])
|
||||
* @method \Aws\Result listAccountPermissions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAccountPermissionsAsync(array $args = [])
|
||||
* @method \Aws\Result listCisScanConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCisScanConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result listCisScanResultsAggregatedByChecks(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCisScanResultsAggregatedByChecksAsync(array $args = [])
|
||||
* @method \Aws\Result listCisScanResultsAggregatedByTargetResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCisScanResultsAggregatedByTargetResourceAsync(array $args = [])
|
||||
* @method \Aws\Result listCisScans(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCisScansAsync(array $args = [])
|
||||
* @method \Aws\Result listCoverage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCoverageAsync(array $args = [])
|
||||
* @method \Aws\Result listCoverageStatistics(array $args = [])
|
||||
|
@ -81,10 +97,20 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise resetEncryptionKeyAsync(array $args = [])
|
||||
* @method \Aws\Result searchVulnerabilities(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise searchVulnerabilitiesAsync(array $args = [])
|
||||
* @method \Aws\Result sendCisSessionHealth(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise sendCisSessionHealthAsync(array $args = [])
|
||||
* @method \Aws\Result sendCisSessionTelemetry(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise sendCisSessionTelemetryAsync(array $args = [])
|
||||
* @method \Aws\Result startCisSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise startCisSessionAsync(array $args = [])
|
||||
* @method \Aws\Result stopCisSession(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise stopCisSessionAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateCisScanConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateCisScanConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result updateEc2DeepInspectionConfiguration(array $args = [])
|
||||
|
|
|
@ -15,6 +15,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteConnectorAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCustomPlugin(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteCustomPluginAsync(array $args = [])
|
||||
* @method \Aws\Result deleteWorkerConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteWorkerConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result describeConnector(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeConnectorAsync(array $args = [])
|
||||
* @method \Aws\Result describeCustomPlugin(array $args = [])
|
||||
|
@ -25,8 +27,14 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listConnectorsAsync(array $args = [])
|
||||
* @method \Aws\Result listCustomPlugins(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listCustomPluginsAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result listWorkerConfigurations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listWorkerConfigurationsAsync(array $args = [])
|
||||
* @method \Aws\Result tagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateConnector(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateConnectorAsync(array $args = [])
|
||||
*/
|
||||
|
|
|
@ -17,6 +17,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getKeyspaceAsync(array $args = [])
|
||||
* @method \Aws\Result getTable(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getTableAsync(array $args = [])
|
||||
* @method \Aws\Result getTableAutoScalingSettings(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getTableAutoScalingSettingsAsync(array $args = [])
|
||||
* @method \Aws\Result listKeyspaces(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listKeyspacesAsync(array $args = [])
|
||||
* @method \Aws\Result listTables(array $args = [])
|
||||
|
|
|
@ -21,6 +21,8 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise createBotAliasAsync(array $args = [])
|
||||
* @method \Aws\Result createBotLocale(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createBotLocaleAsync(array $args = [])
|
||||
* @method \Aws\Result createBotReplica(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createBotReplicaAsync(array $args = [])
|
||||
* @method \Aws\Result createBotVersion(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createBotVersionAsync(array $args = [])
|
||||
* @method \Aws\Result createExport(array $args = [])
|
||||
|
@ -45,6 +47,8 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteBotAliasAsync(array $args = [])
|
||||
* @method \Aws\Result deleteBotLocale(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteBotLocaleAsync(array $args = [])
|
||||
* @method \Aws\Result deleteBotReplica(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteBotReplicaAsync(array $args = [])
|
||||
* @method \Aws\Result deleteBotVersion(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteBotVersionAsync(array $args = [])
|
||||
* @method \Aws\Result deleteCustomVocabulary(array $args = [])
|
||||
|
@ -75,6 +79,8 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise describeBotLocaleAsync(array $args = [])
|
||||
* @method \Aws\Result describeBotRecommendation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeBotRecommendationAsync(array $args = [])
|
||||
* @method \Aws\Result describeBotReplica(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeBotReplicaAsync(array $args = [])
|
||||
* @method \Aws\Result describeBotResourceGeneration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise describeBotResourceGenerationAsync(array $args = [])
|
||||
* @method \Aws\Result describeBotVersion(array $args = [])
|
||||
|
@ -107,14 +113,20 @@ use Psr\Http\Message\RequestInterface;
|
|||
* @method \GuzzleHttp\Promise\Promise getTestExecutionArtifactsUrlAsync(array $args = [])
|
||||
* @method \Aws\Result listAggregatedUtterances(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listAggregatedUtterancesAsync(array $args = [])
|
||||
* @method \Aws\Result listBotAliasReplicas(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotAliasReplicasAsync(array $args = [])
|
||||
* @method \Aws\Result listBotAliases(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotAliasesAsync(array $args = [])
|
||||
* @method \Aws\Result listBotLocales(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotLocalesAsync(array $args = [])
|
||||
* @method \Aws\Result listBotRecommendations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotRecommendationsAsync(array $args = [])
|
||||
* @method \Aws\Result listBotReplicas(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotReplicasAsync(array $args = [])
|
||||
* @method \Aws\Result listBotResourceGenerations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotResourceGenerationsAsync(array $args = [])
|
||||
* @method \Aws\Result listBotVersionReplicas(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotVersionReplicasAsync(array $args = [])
|
||||
* @method \Aws\Result listBotVersions(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listBotVersionsAsync(array $args = [])
|
||||
* @method \Aws\Result listBots(array $args = [])
|
||||
|
|
|
@ -133,5 +133,7 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise updateMultiplexProgramAsync(array $args = [])
|
||||
* @method \Aws\Result updateReservation(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateReservationAsync(array $args = [])
|
||||
* @method \Aws\Result restartChannelPipelines(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise restartChannelPipelinesAsync(array $args = [])
|
||||
*/
|
||||
class MediaLiveClient extends AwsClient {}
|
||||
|
|
|
@ -5,12 +5,16 @@ use Aws\AwsClient;
|
|||
|
||||
/**
|
||||
* This client is used to interact with the **AWS Migration Hub Orchestrator** service.
|
||||
* @method \Aws\Result createTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result createWorkflow(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createWorkflowAsync(array $args = [])
|
||||
* @method \Aws\Result createWorkflowStep(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createWorkflowStepAsync(array $args = [])
|
||||
* @method \Aws\Result createWorkflowStepGroup(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createWorkflowStepGroupAsync(array $args = [])
|
||||
* @method \Aws\Result deleteTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result deleteWorkflow(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteWorkflowAsync(array $args = [])
|
||||
* @method \Aws\Result deleteWorkflowStep(array $args = [])
|
||||
|
@ -55,6 +59,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise tagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result untagResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise untagResourceAsync(array $args = [])
|
||||
* @method \Aws\Result updateTemplate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateTemplateAsync(array $args = [])
|
||||
* @method \Aws\Result updateWorkflow(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateWorkflowAsync(array $args = [])
|
||||
* @method \Aws\Result updateWorkflowStep(array $args = [])
|
||||
|
|
|
@ -7,6 +7,8 @@ use Aws\AwsClient;
|
|||
* This client is used to interact with the **Amazon Neptune Graph** service.
|
||||
* @method \Aws\Result cancelImportTask(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelImportTaskAsync(array $args = [])
|
||||
* @method \Aws\Result cancelQuery(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelQueryAsync(array $args = [])
|
||||
* @method \Aws\Result createGraph(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createGraphAsync(array $args = [])
|
||||
* @method \Aws\Result createGraphSnapshot(array $args = [])
|
||||
|
@ -21,14 +23,20 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteGraphSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result deletePrivateGraphEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deletePrivateGraphEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result executeQuery(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise executeQueryAsync(array $args = [])
|
||||
* @method \Aws\Result getGraph(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGraphAsync(array $args = [])
|
||||
* @method \Aws\Result getGraphSnapshot(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGraphSnapshotAsync(array $args = [])
|
||||
* @method \Aws\Result getGraphSummary(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getGraphSummaryAsync(array $args = [])
|
||||
* @method \Aws\Result getImportTask(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getImportTaskAsync(array $args = [])
|
||||
* @method \Aws\Result getPrivateGraphEndpoint(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getPrivateGraphEndpointAsync(array $args = [])
|
||||
* @method \Aws\Result getQuery(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getQueryAsync(array $args = [])
|
||||
* @method \Aws\Result listGraphSnapshots(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listGraphSnapshotsAsync(array $args = [])
|
||||
* @method \Aws\Result listGraphs(array $args = [])
|
||||
|
@ -37,6 +45,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise listImportTasksAsync(array $args = [])
|
||||
* @method \Aws\Result listPrivateGraphEndpoints(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listPrivateGraphEndpointsAsync(array $args = [])
|
||||
* @method \Aws\Result listQueries(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listQueriesAsync(array $args = [])
|
||||
* @method \Aws\Result listTagsForResource(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listTagsForResourceAsync(array $args = [])
|
||||
* @method \Aws\Result resetGraph(array $args = [])
|
||||
|
|
|
@ -15,6 +15,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise associatePackageAsync(array $args = [])
|
||||
* @method \Aws\Result authorizeVpcEndpointAccess(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise authorizeVpcEndpointAccessAsync(array $args = [])
|
||||
* @method \Aws\Result cancelDomainConfigChange(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelDomainConfigChangeAsync(array $args = [])
|
||||
* @method \Aws\Result cancelServiceSoftwareUpdate(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise cancelServiceSoftwareUpdateAsync(array $args = [])
|
||||
* @method \Aws\Result createDomain(array $args = [])
|
||||
|
|
|
@ -59,7 +59,7 @@ class PresignUrlMiddleware
|
|||
public function __invoke(CommandInterface $cmd, RequestInterface $request = null)
|
||||
{
|
||||
if (in_array($cmd->getName(), $this->commandPool)
|
||||
&& (!isset($cmd->{'__skip' . $cmd->getName()}))
|
||||
&& (!isset($cmd['__skip' . $cmd->getName()]))
|
||||
) {
|
||||
$cmd['DestinationRegion'] = $this->client->getRegion();
|
||||
if (!empty($cmd['SourceRegion']) && !empty($cmd[$this->presignParam])) {
|
||||
|
@ -84,7 +84,7 @@ class PresignUrlMiddleware
|
|||
$cmdName = $cmd->getName();
|
||||
$newCmd = $client->getCommand($cmdName, $cmd->toArray());
|
||||
// Avoid infinite recursion by flagging the new command.
|
||||
$newCmd->{'__skip' . $cmdName} = true;
|
||||
$newCmd['__skip' . $cmdName] = true;
|
||||
|
||||
// Serialize a request for the operation.
|
||||
$request = \Aws\serialize($newCmd);
|
||||
|
|
10
vendor/aws/aws-sdk-php/src/Rds/RdsClient.php
vendored
10
vendor/aws/aws-sdk-php/src/Rds/RdsClient.php
vendored
|
@ -148,6 +148,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise createDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createDBShardGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise createGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result createIntegration(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -174,6 +176,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteDBProxyAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBProxyEndpoint(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBProxyEndpointAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteDBShardGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise deleteGlobalClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result deleteIntegration(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -216,6 +220,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise describeDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBRecommendations(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBRecommendationsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBShardGroups(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBShardGroupsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBSnapshotAttributes(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise describeDBSnapshotAttributesAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result describeDBSnapshotTenantDatabases(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -268,6 +274,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise modifyDBProxyTargetGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBRecommendation(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBRecommendationAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBShardGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBSnapshot(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise modifyDBSnapshotAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result modifyDBSnapshotAttribute(array $args = []) (supported in versions 2014-10-31)
|
||||
|
@ -280,6 +288,8 @@ use Aws\PresignUrlMiddleware;
|
|||
* @method \GuzzleHttp\Promise\Promise promoteReadReplicaDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result rebootDBCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise rebootDBClusterAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result rebootDBShardGroup(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise rebootDBShardGroupAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result registerDBProxyTargets(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \GuzzleHttp\Promise\Promise registerDBProxyTargetsAsync(array $args = []) (supported in versions 2014-10-31)
|
||||
* @method \Aws\Result removeFromGlobalCluster(array $args = []) (supported in versions 2014-10-31)
|
||||
|
|
|
@ -204,6 +204,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise getReservedNodeExchangeOfferingsAsync(array $args = [])
|
||||
* @method \Aws\Result getResourcePolicy(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getResourcePolicyAsync(array $args = [])
|
||||
* @method \Aws\Result listRecommendations(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise listRecommendationsAsync(array $args = [])
|
||||
* @method \Aws\Result modifyAquaConfiguration(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise modifyAquaConfigurationAsync(array $args = [])
|
||||
* @method \Aws\Result modifyAuthenticationProfile(array $args = [])
|
||||
|
|
11
vendor/aws/aws-sdk-php/src/S3/S3Client.php
vendored
11
vendor/aws/aws-sdk-php/src/S3/S3Client.php
vendored
|
@ -801,9 +801,18 @@ class S3Client extends AwsClient implements S3ClientInterface
|
|||
*/
|
||||
private function addBuiltIns($args)
|
||||
{
|
||||
if ($args['region'] !== 'us-east-1') {
|
||||
if (isset($args['region'])
|
||||
&& $args['region'] !== 'us-east-1'
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!isset($args['region'])
|
||||
&& ConfigurationResolver::resolve('region', '', 'string') !== 'us-east-1'
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
|
||||
$key = 'AWS::S3::UseGlobalEndpoint';
|
||||
$result = $args['s3_us_east_1_regional_endpoint'] instanceof \Closure ?
|
||||
$args['s3_us_east_1_regional_endpoint']()->wait() : $args['s3_us_east_1_regional_endpoint'];
|
||||
|
|
|
@ -171,6 +171,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise deleteHubContentAsync(array $args = [])
|
||||
* @method \Aws\Result deleteHumanTaskUi(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteHumanTaskUiAsync(array $args = [])
|
||||
* @method \Aws\Result deleteHyperParameterTuningJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteHyperParameterTuningJobAsync(array $args = [])
|
||||
* @method \Aws\Result deleteImage(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteImageAsync(array $args = [])
|
||||
* @method \Aws\Result deleteImageVersion(array $args = [])
|
||||
|
@ -577,6 +579,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise updateArtifactAsync(array $args = [])
|
||||
* @method \Aws\Result updateCluster(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateClusterAsync(array $args = [])
|
||||
* @method \Aws\Result updateClusterSoftware(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateClusterSoftwareAsync(array $args = [])
|
||||
* @method \Aws\Result updateCodeRepository(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise updateCodeRepositoryAsync(array $args = [])
|
||||
* @method \Aws\Result updateContext(array $args = [])
|
||||
|
|
8
vendor/aws/aws-sdk-php/src/Sdk.php
vendored
8
vendor/aws/aws-sdk-php/src/Sdk.php
vendored
|
@ -56,6 +56,8 @@ namespace Aws;
|
|||
* @method \Aws\MultiRegionClient createMultiRegionApplicationInsights(array $args = [])
|
||||
* @method \Aws\Appstream\AppstreamClient createAppstream(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionAppstream(array $args = [])
|
||||
* @method \Aws\Artifact\ArtifactClient createArtifact(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionArtifact(array $args = [])
|
||||
* @method \Aws\Athena\AthenaClient createAthena(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionAthena(array $args = [])
|
||||
* @method \Aws\AuditManager\AuditManagerClient createAuditManager(array $args = [])
|
||||
|
@ -92,6 +94,8 @@ namespace Aws;
|
|||
* @method \Aws\MultiRegionClient createMultiRegionBraket(array $args = [])
|
||||
* @method \Aws\Budgets\BudgetsClient createBudgets(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionBudgets(array $args = [])
|
||||
* @method \Aws\Chatbot\ChatbotClient createChatbot(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionChatbot(array $args = [])
|
||||
* @method \Aws\Chime\ChimeClient createChime(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionChime(array $args = [])
|
||||
* @method \Aws\ChimeSDKIdentity\ChimeSDKIdentityClient createChimeSDKIdentity(array $args = [])
|
||||
|
@ -686,6 +690,8 @@ namespace Aws;
|
|||
* @method \Aws\MultiRegionClient createMultiRegionStorageGateway(array $args = [])
|
||||
* @method \Aws\Sts\StsClient createSts(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionSts(array $args = [])
|
||||
* @method \Aws\SupplyChain\SupplyChainClient createSupplyChain(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionSupplyChain(array $args = [])
|
||||
* @method \Aws\Support\SupportClient createSupport(array $args = [])
|
||||
* @method \Aws\MultiRegionClient createMultiRegionSupport(array $args = [])
|
||||
* @method \Aws\SupportApp\SupportAppClient createSupportApp(array $args = [])
|
||||
|
@ -757,7 +763,7 @@ namespace Aws;
|
|||
*/
|
||||
class Sdk
|
||||
{
|
||||
const VERSION = '3.295.7';
|
||||
const VERSION = '3.300.11';
|
||||
|
||||
/** @var array Arguments for creating clients */
|
||||
private $args;
|
||||
|
|
9
vendor/aws/aws-sdk-php/src/SupplyChain/Exception/SupplyChainException.php
vendored
Normal file
9
vendor/aws/aws-sdk-php/src/SupplyChain/Exception/SupplyChainException.php
vendored
Normal file
|
@ -0,0 +1,9 @@
|
|||
<?php
|
||||
namespace Aws\SupplyChain\Exception;
|
||||
|
||||
use Aws\Exception\AwsException;
|
||||
|
||||
/**
|
||||
* Represents an error interacting with the **AWS Supply Chain** service.
|
||||
*/
|
||||
class SupplyChainException extends AwsException {}
|
13
vendor/aws/aws-sdk-php/src/SupplyChain/SupplyChainClient.php
vendored
Normal file
13
vendor/aws/aws-sdk-php/src/SupplyChain/SupplyChainClient.php
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
namespace Aws\SupplyChain;
|
||||
|
||||
use Aws\AwsClient;
|
||||
|
||||
/**
|
||||
* This client is used to interact with the **AWS Supply Chain** service.
|
||||
* @method \Aws\Result createBillOfMaterialsImportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createBillOfMaterialsImportJobAsync(array $args = [])
|
||||
* @method \Aws\Result getBillOfMaterialsImportJob(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise getBillOfMaterialsImportJobAsync(array $args = [])
|
||||
*/
|
||||
class SupplyChainClient extends AwsClient {}
|
|
@ -19,6 +19,8 @@ use Aws\AwsClient;
|
|||
* @method \GuzzleHttp\Promise\Promise createRuleGroupAsync(array $args = [])
|
||||
* @method \Aws\Result createWebACL(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise createWebACLAsync(array $args = [])
|
||||
* @method \Aws\Result deleteAPIKey(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteAPIKeyAsync(array $args = [])
|
||||
* @method \Aws\Result deleteFirewallManagerRuleGroups(array $args = [])
|
||||
* @method \GuzzleHttp\Promise\Promise deleteFirewallManagerRuleGroupsAsync(array $args = [])
|
||||
* @method \Aws\Result deleteIPSet(array $args = [])
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://acm-pca.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/acm-pca/2017-08-22/waiters-2.json
|
||||
return [ 'version' => 2, 'waiters' => [ 'CertificateAuthorityCSRCreated' => [ 'description' => 'Wait until a Certificate Authority CSR is created', 'operation' => 'GetCertificateAuthorityCsr', 'delay' => 3, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'status', 'expected' => 200, ], [ 'state' => 'retry', 'matcher' => 'error', 'expected' => 'RequestInProgressException', ], ], ], 'CertificateIssued' => [ 'description' => 'Wait until a certificate is issued', 'operation' => 'GetCertificate', 'delay' => 3, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'status', 'expected' => 200, ], [ 'state' => 'retry', 'matcher' => 'error', 'expected' => 'RequestInProgressException', ], ], ], 'AuditReportCreated' => [ 'description' => 'Wait until a Audit Report is created', 'operation' => 'DescribeCertificateAuthorityAuditReport', 'delay' => 3, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'expected' => 'SUCCESS', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'expected' => 'FAILED', ], ], ], ],];
|
||||
return [ 'version' => 2, 'waiters' => [ 'CertificateAuthorityCSRCreated' => [ 'description' => 'Wait until a Certificate Authority CSR is created', 'operation' => 'GetCertificateAuthorityCsr', 'delay' => 3, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'status', 'expected' => 200, ], [ 'state' => 'retry', 'matcher' => 'error', 'expected' => 'RequestInProgressException', ], ], ], 'CertificateIssued' => [ 'description' => 'Wait until a certificate is issued', 'operation' => 'GetCertificate', 'delay' => 1, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'status', 'expected' => 200, ], [ 'state' => 'retry', 'matcher' => 'error', 'expected' => 'RequestInProgressException', ], ], ], 'AuditReportCreated' => [ 'description' => 'Wait until a Audit Report is created', 'operation' => 'DescribeCertificateAuthorityAuditReport', 'delay' => 3, 'maxAttempts' => 60, 'acceptors' => [ [ 'state' => 'success', 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'expected' => 'SUCCESS', ], [ 'state' => 'failure', 'matcher' => 'path', 'argument' => 'AuditReportStatus', 'expected' => 'FAILED', ], ], ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/amplifyuibuilder/2021-08-11/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://amplifyuibuilder.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/apigateway/2015-07-09/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://apigateway.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/appconfigdata/2021-11-11/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://appconfigdata.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://appconfigdata.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/api-2.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/api-2.json.php
vendored
Normal file
File diff suppressed because one or more lines are too long
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/endpoint-rule-set-1.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/endpoint-rule-set-1.json.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/artifact/2018-05-10/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://artifact-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://artifact-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://artifact.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://artifact.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'type' => 'tree', ], ],];
|
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/paginators-1.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/artifact/2018-05-10/paginators-1.json.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/artifact/2018-05-10/paginators-1.json
|
||||
return [ 'pagination' => [ 'ListReports' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'reports', ], ],];
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/batch/2016-08-10/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://fips.batch.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://batch.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws', ], ], ], 'endpoint' => [ 'url' => 'https://fips.batch.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://batch.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://batch.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/api-2.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/api-2.json.php
vendored
Normal file
File diff suppressed because one or more lines are too long
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/endpoint-rule-set-1.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/endpoint-rule-set-1.json.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/chatbot/2017-10-11/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://chatbot-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://chatbot-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://chatbot.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://chatbot.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'type' => 'tree', ], ],];
|
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/paginators-1.json.php
vendored
Normal file
3
vendor/aws/aws-sdk-php/src/data/chatbot/2017-10-11/paginators-1.json.php
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/chatbot/2017-10-11/paginators-1.json
|
||||
return [ 'pagination' => [ 'DescribeChimeWebhookConfigurations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'DescribeSlackChannelConfigurations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'DescribeSlackUserIdentities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'DescribeSlackWorkspaces' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMicrosoftTeamsChannelConfigurations' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMicrosoftTeamsConfiguredTeams' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], 'ListMicrosoftTeamsUserIdentities' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'limit_key' => 'MaxResults', ], ],];
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/cloudformation/2010-05-15/paginators-1.json
|
||||
return [ 'pagination' => [ 'DescribeAccountLimits' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'AccountLimits', ], 'DescribeStackEvents' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackEvents', ], 'DescribeStackResourceDrifts' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'DescribeStackResources' => [ 'result_key' => 'StackResources', ], 'DescribeStacks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Stacks', ], 'ListChangeSets' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListExports' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Exports', ], 'ListImports' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Imports', ], 'ListStackInstances' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackResources' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackResourceSummaries', ], 'ListStackSetOperationResults' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackSetOperations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackSets' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStacks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackSummaries', ], 'ListTypeRegistrations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTypeVersions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTypes' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'TypeSummaries', ], ],];
|
||||
return [ 'pagination' => [ 'DescribeAccountLimits' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'AccountLimits', ], 'DescribeStackEvents' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackEvents', ], 'DescribeStackResourceDrifts' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'DescribeStackResources' => [ 'result_key' => 'StackResources', ], 'DescribeStacks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Stacks', ], 'ListChangeSets' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListExports' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Exports', ], 'ListGeneratedTemplates' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListImports' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Imports', ], 'ListResourceScanRelatedResources' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'RelatedResources', ], 'ListResourceScanResources' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Resources', ], 'ListResourceScans' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'ResourceScanSummaries', ], 'ListStackInstances' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackResources' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackResourceSummaries', ], 'ListStackSetOperationResults' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackSetOperations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStackSets' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Summaries', ], 'ListStacks' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'StackSummaries', ], 'ListTypeRegistrations' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTypeVersions' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTypes' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'TypeSummaries', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/cloudtrail/2013-11-01/paginators-1.json
|
||||
return [ 'pagination' => [ 'DescribeTrails' => [ 'result_key' => 'trailList', ], 'GetQueryResults' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', ], 'ListChannels' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListEventDataStores' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListImportFailures' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Failures', ], 'ListImports' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Imports', ], 'ListPublicKeys' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'PublicKeyList', ], 'ListQueries' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTags' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'ResourceTagList', ], 'ListTrails' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Trails', ], 'LookupEvents' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Events', ], ],];
|
||||
return [ 'pagination' => [ 'DescribeTrails' => [ 'result_key' => 'trailList', ], 'GetQueryResults' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', ], 'ListChannels' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListEventDataStores' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListImportFailures' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Failures', ], 'ListImports' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Imports', ], 'ListInsightsMetricData' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListPublicKeys' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'PublicKeyList', ], 'ListQueries' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', ], 'ListTags' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'ResourceTagList', ], 'ListTrails' => [ 'input_token' => 'NextToken', 'output_token' => 'NextToken', 'result_key' => 'Trails', ], 'LookupEvents' => [ 'input_token' => 'NextToken', 'limit_key' => 'MaxResults', 'output_token' => 'NextToken', 'result_key' => 'Events', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/codebuild/2016-10-06/paginators-1.json
|
||||
return [ 'pagination' => [ 'DescribeCodeCoverages' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'codeCoverages', ], 'DescribeTestCases' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'testCases', ], 'ListBuildBatches' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuildBatchesForProject' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuilds' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuildsForProject' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListProjects' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'projects', ], 'ListReportGroups' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reportGroups', ], 'ListReports' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reports', ], 'ListReportsForReportGroup' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reports', ], 'ListSharedProjects' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'projects', ], 'ListSharedReportGroups' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reportGroups', ], ],];
|
||||
return [ 'pagination' => [ 'DescribeCodeCoverages' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'codeCoverages', ], 'DescribeTestCases' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'testCases', ], 'ListBuildBatches' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuildBatchesForProject' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuilds' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListBuildsForProject' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'ids', ], 'ListFleets' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', ], 'ListProjects' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'result_key' => 'projects', ], 'ListReportGroups' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reportGroups', ], 'ListReports' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reports', ], 'ListReportsForReportGroup' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reports', ], 'ListSharedProjects' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'projects', ], 'ListSharedReportGroups' => [ 'input_token' => 'nextToken', 'limit_key' => 'maxResults', 'output_token' => 'nextToken', 'result_key' => 'reportGroups', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/connectcampaigns/2021-01-30/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://connect-campaigns.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/connectcases/2022-10-03/paginators-1.json
|
||||
return [ 'pagination' => [ 'GetCase' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', ], 'ListCasesForContact' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListDomains' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFieldOptions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFields' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListLayouts' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListTemplates' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'SearchCases' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'cases', ], 'SearchRelatedItems' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'relatedItems', ], ],];
|
||||
return [ 'pagination' => [ 'GetCase' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', ], 'GetCaseAuditEvents' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListCasesForContact' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListDomains' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFieldOptions' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListFields' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListLayouts' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'ListTemplates' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', ], 'SearchCases' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'cases', ], 'SearchRelatedItems' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'relatedItems', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/connectparticipant/2018-09-07/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ 'aws-us-gov', [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], ], ], ], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'stringEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'name', ], ], 'aws-us-gov', ], ], ], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.amazonaws.com', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://participant.connect.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/controltower/2018-05-10/paginators-1.json
|
||||
return [ 'pagination' => [ 'ListEnabledControls' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'enabledControls', ], 'ListLandingZones' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'landingZones', ], ],];
|
||||
return [ 'pagination' => [ 'ListBaselines' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'baselines', ], 'ListEnabledBaselines' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'enabledBaselines', ], 'ListEnabledControls' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'enabledControls', ], 'ListLandingZones' => [ 'input_token' => 'nextToken', 'output_token' => 'nextToken', 'limit_key' => 'maxResults', 'result_key' => 'landingZones', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/datazone/2018-05-10/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://datazone.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
|
@ -1,3 +1,3 @@
|
|||
<?php
|
||||
// This file was auto-generated from sdk-root/src/data/docdb-elastic/2022-11-28/endpoint-rule-set-1.json
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], ], [ 'conditions' => [], 'type' => 'tree', 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], ], ], ], ], ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], ], ],];
|
||||
return [ 'version' => '1.0', 'parameters' => [ 'Region' => [ 'builtIn' => 'AWS::Region', 'required' => false, 'documentation' => 'The AWS region used to dispatch the request.', 'type' => 'String', ], 'UseDualStack' => [ 'builtIn' => 'AWS::UseDualStack', 'required' => true, 'default' => false, 'documentation' => 'When true, use the dual-stack endpoint. If the configured endpoint does not support dual-stack, dispatching the request MAY return an error.', 'type' => 'Boolean', ], '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', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Endpoint', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'error' => 'Invalid Configuration: FIPS and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'error' => 'Invalid Configuration: Dualstack and custom endpoint are not supported', 'type' => 'error', ], [ 'conditions' => [], 'endpoint' => [ 'url' => [ 'ref' => 'Endpoint', ], 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'isSet', 'argv' => [ [ 'ref' => 'Region', ], ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'aws.partition', 'argv' => [ [ 'ref' => 'Region', ], ], 'assign' => 'PartitionResult', ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], ], ], [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic-fips.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS and DualStack are enabled, but this partition does not support one or both', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseFIPS', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsFIPS', ], ], true, ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic-fips.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'FIPS is enabled but this partition does not support FIPS', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ [ 'ref' => 'UseDualStack', ], true, ], ], ], 'rules' => [ [ 'conditions' => [ [ 'fn' => 'booleanEquals', 'argv' => [ true, [ 'fn' => 'getAttr', 'argv' => [ [ 'ref' => 'PartitionResult', ], 'supportsDualStack', ], ], ], ], ], 'rules' => [ [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic.{Region}.{PartitionResult#dualStackDnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'DualStack is enabled but this partition does not support DualStack', 'type' => 'error', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'rules' => [ [ 'conditions' => [], 'endpoint' => [ 'url' => 'https://docdb-elastic.{Region}.{PartitionResult#dnsSuffix}', 'properties' => [], 'headers' => [], ], 'type' => 'endpoint', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], ], 'type' => 'tree', ], [ 'conditions' => [], 'error' => 'Invalid Configuration: Missing Region', 'type' => 'error', ], ], 'type' => 'tree', ], ],];
|
||||
|
|
File diff suppressed because one or more lines are too long
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue