Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/AWS/Aws/ApiGateway/ApiGatewayClient.php
Строк: 346
<?php
namespace AwsApiGateway;

use 
AwsAwsClient;
use 
AwsCommandInterface;
use 
PsrHttpMessageRequestInterface;

/**
 * This client is used to interact with the **AWS API Gateway** service.
 *
 * @method AwsResult createApiKey(array $args = [])
 * @method GuzzleHttpPromisePromise createApiKeyAsync(array $args = [])
 * @method AwsResult createAuthorizer(array $args = [])
 * @method GuzzleHttpPromisePromise createAuthorizerAsync(array $args = [])
 * @method AwsResult createBasePathMapping(array $args = [])
 * @method GuzzleHttpPromisePromise createBasePathMappingAsync(array $args = [])
 * @method AwsResult createDeployment(array $args = [])
 * @method GuzzleHttpPromisePromise createDeploymentAsync(array $args = [])
 * @method AwsResult createDocumentationPart(array $args = [])
 * @method GuzzleHttpPromisePromise createDocumentationPartAsync(array $args = [])
 * @method AwsResult createDocumentationVersion(array $args = [])
 * @method GuzzleHttpPromisePromise createDocumentationVersionAsync(array $args = [])
 * @method AwsResult createDomainName(array $args = [])
 * @method GuzzleHttpPromisePromise createDomainNameAsync(array $args = [])
 * @method AwsResult createModel(array $args = [])
 * @method GuzzleHttpPromisePromise createModelAsync(array $args = [])
 * @method AwsResult createRequestValidator(array $args = [])
 * @method GuzzleHttpPromisePromise createRequestValidatorAsync(array $args = [])
 * @method AwsResult createResource(array $args = [])
 * @method GuzzleHttpPromisePromise createResourceAsync(array $args = [])
 * @method AwsResult createRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise createRestApiAsync(array $args = [])
 * @method AwsResult createStage(array $args = [])
 * @method GuzzleHttpPromisePromise createStageAsync(array $args = [])
 * @method AwsResult createUsagePlan(array $args = [])
 * @method GuzzleHttpPromisePromise createUsagePlanAsync(array $args = [])
 * @method AwsResult createUsagePlanKey(array $args = [])
 * @method GuzzleHttpPromisePromise createUsagePlanKeyAsync(array $args = [])
 * @method AwsResult createVpcLink(array $args = [])
 * @method GuzzleHttpPromisePromise createVpcLinkAsync(array $args = [])
 * @method AwsResult deleteApiKey(array $args = [])
 * @method GuzzleHttpPromisePromise deleteApiKeyAsync(array $args = [])
 * @method AwsResult deleteAuthorizer(array $args = [])
 * @method GuzzleHttpPromisePromise deleteAuthorizerAsync(array $args = [])
 * @method AwsResult deleteBasePathMapping(array $args = [])
 * @method GuzzleHttpPromisePromise deleteBasePathMappingAsync(array $args = [])
 * @method AwsResult deleteClientCertificate(array $args = [])
 * @method GuzzleHttpPromisePromise deleteClientCertificateAsync(array $args = [])
 * @method AwsResult deleteDeployment(array $args = [])
 * @method GuzzleHttpPromisePromise deleteDeploymentAsync(array $args = [])
 * @method AwsResult deleteDocumentationPart(array $args = [])
 * @method GuzzleHttpPromisePromise deleteDocumentationPartAsync(array $args = [])
 * @method AwsResult deleteDocumentationVersion(array $args = [])
 * @method GuzzleHttpPromisePromise deleteDocumentationVersionAsync(array $args = [])
 * @method AwsResult deleteDomainName(array $args = [])
 * @method GuzzleHttpPromisePromise deleteDomainNameAsync(array $args = [])
 * @method AwsResult deleteGatewayResponse(array $args = [])
 * @method GuzzleHttpPromisePromise deleteGatewayResponseAsync(array $args = [])
 * @method AwsResult deleteIntegration(array $args = [])
 * @method GuzzleHttpPromisePromise deleteIntegrationAsync(array $args = [])
 * @method AwsResult deleteIntegrationResponse(array $args = [])
 * @method GuzzleHttpPromisePromise deleteIntegrationResponseAsync(array $args = [])
 * @method AwsResult deleteMethod(array $args = [])
 * @method GuzzleHttpPromisePromise deleteMethodAsync(array $args = [])
 * @method AwsResult deleteMethodResponse(array $args = [])
 * @method GuzzleHttpPromisePromise deleteMethodResponseAsync(array $args = [])
 * @method AwsResult deleteModel(array $args = [])
 * @method GuzzleHttpPromisePromise deleteModelAsync(array $args = [])
 * @method AwsResult deleteRequestValidator(array $args = [])
 * @method GuzzleHttpPromisePromise deleteRequestValidatorAsync(array $args = [])
 * @method AwsResult deleteResource(array $args = [])
 * @method GuzzleHttpPromisePromise deleteResourceAsync(array $args = [])
 * @method AwsResult deleteRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise deleteRestApiAsync(array $args = [])
 * @method AwsResult deleteStage(array $args = [])
 * @method GuzzleHttpPromisePromise deleteStageAsync(array $args = [])
 * @method AwsResult deleteUsagePlan(array $args = [])
 * @method GuzzleHttpPromisePromise deleteUsagePlanAsync(array $args = [])
 * @method AwsResult deleteUsagePlanKey(array $args = [])
 * @method GuzzleHttpPromisePromise deleteUsagePlanKeyAsync(array $args = [])
 * @method AwsResult deleteVpcLink(array $args = [])
 * @method GuzzleHttpPromisePromise deleteVpcLinkAsync(array $args = [])
 * @method AwsResult flushStageAuthorizersCache(array $args = [])
 * @method GuzzleHttpPromisePromise flushStageAuthorizersCacheAsync(array $args = [])
 * @method AwsResult flushStageCache(array $args = [])
 * @method GuzzleHttpPromisePromise flushStageCacheAsync(array $args = [])
 * @method AwsResult generateClientCertificate(array $args = [])
 * @method GuzzleHttpPromisePromise generateClientCertificateAsync(array $args = [])
 * @method AwsResult getAccount(array $args = [])
 * @method GuzzleHttpPromisePromise getAccountAsync(array $args = [])
 * @method AwsResult getApiKey(array $args = [])
 * @method GuzzleHttpPromisePromise getApiKeyAsync(array $args = [])
 * @method AwsResult getApiKeys(array $args = [])
 * @method GuzzleHttpPromisePromise getApiKeysAsync(array $args = [])
 * @method AwsResult getAuthorizer(array $args = [])
 * @method GuzzleHttpPromisePromise getAuthorizerAsync(array $args = [])
 * @method AwsResult getAuthorizers(array $args = [])
 * @method GuzzleHttpPromisePromise getAuthorizersAsync(array $args = [])
 * @method AwsResult getBasePathMapping(array $args = [])
 * @method GuzzleHttpPromisePromise getBasePathMappingAsync(array $args = [])
 * @method AwsResult getBasePathMappings(array $args = [])
 * @method GuzzleHttpPromisePromise getBasePathMappingsAsync(array $args = [])
 * @method AwsResult getClientCertificate(array $args = [])
 * @method GuzzleHttpPromisePromise getClientCertificateAsync(array $args = [])
 * @method AwsResult getClientCertificates(array $args = [])
 * @method GuzzleHttpPromisePromise getClientCertificatesAsync(array $args = [])
 * @method AwsResult getDeployment(array $args = [])
 * @method GuzzleHttpPromisePromise getDeploymentAsync(array $args = [])
 * @method AwsResult getDeployments(array $args = [])
 * @method GuzzleHttpPromisePromise getDeploymentsAsync(array $args = [])
 * @method AwsResult getDocumentationPart(array $args = [])
 * @method GuzzleHttpPromisePromise getDocumentationPartAsync(array $args = [])
 * @method AwsResult getDocumentationParts(array $args = [])
 * @method GuzzleHttpPromisePromise getDocumentationPartsAsync(array $args = [])
 * @method AwsResult getDocumentationVersion(array $args = [])
 * @method GuzzleHttpPromisePromise getDocumentationVersionAsync(array $args = [])
 * @method AwsResult getDocumentationVersions(array $args = [])
 * @method GuzzleHttpPromisePromise getDocumentationVersionsAsync(array $args = [])
 * @method AwsResult getDomainName(array $args = [])
 * @method GuzzleHttpPromisePromise getDomainNameAsync(array $args = [])
 * @method AwsResult getDomainNames(array $args = [])
 * @method GuzzleHttpPromisePromise getDomainNamesAsync(array $args = [])
 * @method AwsResult getExport(array $args = [])
 * @method GuzzleHttpPromisePromise getExportAsync(array $args = [])
 * @method AwsResult getGatewayResponse(array $args = [])
 * @method GuzzleHttpPromisePromise getGatewayResponseAsync(array $args = [])
 * @method AwsResult getGatewayResponses(array $args = [])
 * @method GuzzleHttpPromisePromise getGatewayResponsesAsync(array $args = [])
 * @method AwsResult getIntegration(array $args = [])
 * @method GuzzleHttpPromisePromise getIntegrationAsync(array $args = [])
 * @method AwsResult getIntegrationResponse(array $args = [])
 * @method GuzzleHttpPromisePromise getIntegrationResponseAsync(array $args = [])
 * @method AwsResult getMethod(array $args = [])
 * @method GuzzleHttpPromisePromise getMethodAsync(array $args = [])
 * @method AwsResult getMethodResponse(array $args = [])
 * @method GuzzleHttpPromisePromise getMethodResponseAsync(array $args = [])
 * @method AwsResult getModel(array $args = [])
 * @method GuzzleHttpPromisePromise getModelAsync(array $args = [])
 * @method AwsResult getModelTemplate(array $args = [])
 * @method GuzzleHttpPromisePromise getModelTemplateAsync(array $args = [])
 * @method AwsResult getModels(array $args = [])
 * @method GuzzleHttpPromisePromise getModelsAsync(array $args = [])
 * @method AwsResult getRequestValidator(array $args = [])
 * @method GuzzleHttpPromisePromise getRequestValidatorAsync(array $args = [])
 * @method AwsResult getRequestValidators(array $args = [])
 * @method GuzzleHttpPromisePromise getRequestValidatorsAsync(array $args = [])
 * @method AwsResult getResource(array $args = [])
 * @method GuzzleHttpPromisePromise getResourceAsync(array $args = [])
 * @method AwsResult getResources(array $args = [])
 * @method GuzzleHttpPromisePromise getResourcesAsync(array $args = [])
 * @method AwsResult getRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise getRestApiAsync(array $args = [])
 * @method AwsResult getRestApis(array $args = [])
 * @method GuzzleHttpPromisePromise getRestApisAsync(array $args = [])
 * @method AwsResult getSdk(array $args = [])
 * @method GuzzleHttpPromisePromise getSdkAsync(array $args = [])
 * @method AwsResult getSdkType(array $args = [])
 * @method GuzzleHttpPromisePromise getSdkTypeAsync(array $args = [])
 * @method AwsResult getSdkTypes(array $args = [])
 * @method GuzzleHttpPromisePromise getSdkTypesAsync(array $args = [])
 * @method AwsResult getStage(array $args = [])
 * @method GuzzleHttpPromisePromise getStageAsync(array $args = [])
 * @method AwsResult getStages(array $args = [])
 * @method GuzzleHttpPromisePromise getStagesAsync(array $args = [])
 * @method AwsResult getTags(array $args = [])
 * @method GuzzleHttpPromisePromise getTagsAsync(array $args = [])
 * @method AwsResult getUsage(array $args = [])
 * @method GuzzleHttpPromisePromise getUsageAsync(array $args = [])
 * @method AwsResult getUsagePlan(array $args = [])
 * @method GuzzleHttpPromisePromise getUsagePlanAsync(array $args = [])
 * @method AwsResult getUsagePlanKey(array $args = [])
 * @method GuzzleHttpPromisePromise getUsagePlanKeyAsync(array $args = [])
 * @method AwsResult getUsagePlanKeys(array $args = [])
 * @method GuzzleHttpPromisePromise getUsagePlanKeysAsync(array $args = [])
 * @method AwsResult getUsagePlans(array $args = [])
 * @method GuzzleHttpPromisePromise getUsagePlansAsync(array $args = [])
 * @method AwsResult getVpcLink(array $args = [])
 * @method GuzzleHttpPromisePromise getVpcLinkAsync(array $args = [])
 * @method AwsResult getVpcLinks(array $args = [])
 * @method GuzzleHttpPromisePromise getVpcLinksAsync(array $args = [])
 * @method AwsResult importApiKeys(array $args = [])
 * @method GuzzleHttpPromisePromise importApiKeysAsync(array $args = [])
 * @method AwsResult importDocumentationParts(array $args = [])
 * @method GuzzleHttpPromisePromise importDocumentationPartsAsync(array $args = [])
 * @method AwsResult importRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise importRestApiAsync(array $args = [])
 * @method AwsResult putGatewayResponse(array $args = [])
 * @method GuzzleHttpPromisePromise putGatewayResponseAsync(array $args = [])
 * @method AwsResult putIntegration(array $args = [])
 * @method GuzzleHttpPromisePromise putIntegrationAsync(array $args = [])
 * @method AwsResult putIntegrationResponse(array $args = [])
 * @method GuzzleHttpPromisePromise putIntegrationResponseAsync(array $args = [])
 * @method AwsResult putMethod(array $args = [])
 * @method GuzzleHttpPromisePromise putMethodAsync(array $args = [])
 * @method AwsResult putMethodResponse(array $args = [])
 * @method GuzzleHttpPromisePromise putMethodResponseAsync(array $args = [])
 * @method AwsResult putRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise putRestApiAsync(array $args = [])
 * @method AwsResult tagResource(array $args = [])
 * @method GuzzleHttpPromisePromise tagResourceAsync(array $args = [])
 * @method AwsResult testInvokeAuthorizer(array $args = [])
 * @method GuzzleHttpPromisePromise testInvokeAuthorizerAsync(array $args = [])
 * @method AwsResult testInvokeMethod(array $args = [])
 * @method GuzzleHttpPromisePromise testInvokeMethodAsync(array $args = [])
 * @method AwsResult untagResource(array $args = [])
 * @method GuzzleHttpPromisePromise untagResourceAsync(array $args = [])
 * @method AwsResult updateAccount(array $args = [])
 * @method GuzzleHttpPromisePromise updateAccountAsync(array $args = [])
 * @method AwsResult updateApiKey(array $args = [])
 * @method GuzzleHttpPromisePromise updateApiKeyAsync(array $args = [])
 * @method AwsResult updateAuthorizer(array $args = [])
 * @method GuzzleHttpPromisePromise updateAuthorizerAsync(array $args = [])
 * @method AwsResult updateBasePathMapping(array $args = [])
 * @method GuzzleHttpPromisePromise updateBasePathMappingAsync(array $args = [])
 * @method AwsResult updateClientCertificate(array $args = [])
 * @method GuzzleHttpPromisePromise updateClientCertificateAsync(array $args = [])
 * @method AwsResult updateDeployment(array $args = [])
 * @method GuzzleHttpPromisePromise updateDeploymentAsync(array $args = [])
 * @method AwsResult updateDocumentationPart(array $args = [])
 * @method GuzzleHttpPromisePromise updateDocumentationPartAsync(array $args = [])
 * @method AwsResult updateDocumentationVersion(array $args = [])
 * @method GuzzleHttpPromisePromise updateDocumentationVersionAsync(array $args = [])
 * @method AwsResult updateDomainName(array $args = [])
 * @method GuzzleHttpPromisePromise updateDomainNameAsync(array $args = [])
 * @method AwsResult updateGatewayResponse(array $args = [])
 * @method GuzzleHttpPromisePromise updateGatewayResponseAsync(array $args = [])
 * @method AwsResult updateIntegration(array $args = [])
 * @method GuzzleHttpPromisePromise updateIntegrationAsync(array $args = [])
 * @method AwsResult updateIntegrationResponse(array $args = [])
 * @method GuzzleHttpPromisePromise updateIntegrationResponseAsync(array $args = [])
 * @method AwsResult updateMethod(array $args = [])
 * @method GuzzleHttpPromisePromise updateMethodAsync(array $args = [])
 * @method AwsResult updateMethodResponse(array $args = [])
 * @method GuzzleHttpPromisePromise updateMethodResponseAsync(array $args = [])
 * @method AwsResult updateModel(array $args = [])
 * @method GuzzleHttpPromisePromise updateModelAsync(array $args = [])
 * @method AwsResult updateRequestValidator(array $args = [])
 * @method GuzzleHttpPromisePromise updateRequestValidatorAsync(array $args = [])
 * @method AwsResult updateResource(array $args = [])
 * @method GuzzleHttpPromisePromise updateResourceAsync(array $args = [])
 * @method AwsResult updateRestApi(array $args = [])
 * @method GuzzleHttpPromisePromise updateRestApiAsync(array $args = [])
 * @method AwsResult updateStage(array $args = [])
 * @method GuzzleHttpPromisePromise updateStageAsync(array $args = [])
 * @method AwsResult updateUsage(array $args = [])
 * @method GuzzleHttpPromisePromise updateUsageAsync(array $args = [])
 * @method AwsResult updateUsagePlan(array $args = [])
 * @method GuzzleHttpPromisePromise updateUsagePlanAsync(array $args = [])
 * @method AwsResult updateVpcLink(array $args = [])
 * @method GuzzleHttpPromisePromise updateVpcLinkAsync(array $args = [])
 */
class ApiGatewayClient extends AwsClient
{
    public function 
__construct(array $args)
    {
        
parent::__construct($args);
        
$stack $this->getHandlerList();
        
$stack->appendBuild([__CLASS__'_add_accept_header']);
    }

    public static function 
_add_accept_header(callable $handler)
    {
        return function (
            
CommandInterface $command,
            
RequestInterface $request
        
) use ($handler) {
            
$request $request->withHeader('Accept''application/json');

            return 
$handler($command$request);
        };
    }
}
Онлайн: 0
Реклама