Вход Регистрация
Файл: sngine-v2.8/Script/includes/libs/AWS/Aws/data/translate/2017-07-01/api-2.json.php
Строк: 554
<?php
// This file was auto-generated from sdk-root/src/data/translate/2017-07-01/api-2.json
return [ 'version' => '2.0''metadata' => [ 'apiVersion' => '2017-07-01''endpointPrefix' => 'translate''jsonVersion' => '1.1''protocol' => 'json''serviceFullName' => 'Amazon Translate''serviceId' => 'Translate''signatureVersion' => 'v4''signingName' => 'translate''targetPrefix' => 'AWSShineFrontendService_20170701''uid' => 'translate-2017-07-01', ], 'operations' => [ 'DeleteTerminology' => [ 'name' => 'DeleteTerminology''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'DeleteTerminologyRequest', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'DescribeTextTranslationJob' => [ 'name' => 'DescribeTextTranslationJob''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'DescribeTextTranslationJobRequest', ], 'output' => [ 'shape' => 'DescribeTextTranslationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'GetTerminology' => [ 'name' => 'GetTerminology''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'GetTerminologyRequest', ], 'output' => [ 'shape' => 'GetTerminologyResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InvalidParameterValueException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ImportTerminology' => [ 'name' => 'ImportTerminology''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'ImportTerminologyRequest', ], 'output' => [ 'shape' => 'ImportTerminologyResponse', ], 'errors' => [ [ 'shape' => 'InvalidParameterValueException', ], [ 'shape' => 'LimitExceededException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListTerminologies' => [ 'name' => 'ListTerminologies''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'ListTerminologiesRequest', ], 'output' => [ 'shape' => 'ListTerminologiesResponse', ], 'errors' => [ [ 'shape' => 'InvalidParameterValueException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'ListTextTranslationJobs' => [ 'name' => 'ListTextTranslationJobs''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'ListTextTranslationJobsRequest', ], 'output' => [ 'shape' => 'ListTextTranslationJobsResponse', ], 'errors' => [ [ 'shape' => 'InvalidRequestException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InvalidFilterException', ], [ 'shape' => 'InternalServerException', ], ], ], 'StartTextTranslationJob' => [ 'name' => 'StartTextTranslationJob''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'StartTextTranslationJobRequest', ], 'output' => [ 'shape' => 'StartTextTranslationJobResponse', ], 'errors' => [ [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'UnsupportedLanguagePairException', ], [ 'shape' => 'InvalidRequestException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], ], ], 'StopTextTranslationJob' => [ 'name' => 'StopTextTranslationJob''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'StopTextTranslationJobRequest', ], 'output' => [ 'shape' => 'StopTextTranslationJobResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'InternalServerException', ], ], ], 'TranslateText' => [ 'name' => 'TranslateText''http' => [ 'method' => 'POST''requestUri' => '/', ], 'input' => [ 'shape' => 'TranslateTextRequest', ], 'output' => [ 'shape' => 'TranslateTextResponse', ], 'errors' => [ [ 'shape' => 'InvalidRequestException', ], [ 'shape' => 'TextSizeLimitExceededException', ], [ 'shape' => 'TooManyRequestsException', ], [ 'shape' => 'UnsupportedLanguagePairException', ], [ 'shape' => 'DetectedLanguageLowConfidenceException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'InternalServerException', ], [ 'shape' => 'ServiceUnavailableException', ], ], ], ], 'shapes' => [ 'AppliedTerminology' => [ 'type' => 'structure''members' => [ 'Name' => [ 'shape' => 'ResourceName', ], 'Terms' => [ 'shape' => 'TermList', ], ], ], 'AppliedTerminologyList' => [ 'type' => 'list''member' => [ 'shape' => 'AppliedTerminology', ], ], 'BoundedLengthString' => [ 'type' => 'string''max' => 5000'min' => 1'pattern' => '[\P{M}\p{M}]{1,5000}', ], 'ClientTokenString' => [ 'type' => 'string''max' => 64'min' => 1'pattern' => '^[a-zA-Z0-9-]+$', ], 'ContentType' => [ 'type' => 'string''max' => 256'pattern' => '^[-\w.]+\/[-\w.+]+$', ], 'DeleteTerminologyRequest' => [ 'type' => 'structure''required' => [ 'Name', ], 'members' => [ 'Name' => [ 'shape' => 'ResourceName', ], ], ], 'DescribeTextTranslationJobRequest' => [ 'type' => 'structure''required' => [ 'JobId', ], 'members' => [ 'JobId' => [ 'shape' => 'JobId', ], ], ], 'DescribeTextTranslationJobResponse' => [ 'type' => 'structure''members' => [ 'TextTranslationJobProperties' => [ 'shape' => 'TextTranslationJobProperties', ], ], ], 'Description' => [ 'type' => 'string''max' => 256'pattern' => '[\P{M}\p{M}]{0,256}', ], 'DetectedLanguageLowConfidenceException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], 'DetectedLanguageCode' => [ 'shape' => 'LanguageCodeString', ], ], 'exception' => true, ], 'EncryptionKey' => [ 'type' => 'structure''required' => [ 'Type''Id', ], 'members' => [ 'Type' => [ 'shape' => 'EncryptionKeyType', ], 'Id' => [ 'shape' => 'EncryptionKeyID', ], ], ], 'EncryptionKeyID' => [ 'type' => 'string''max' => 400'min' => 1'pattern' => '(arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:kms:)?([a-z]{2}-[a-z]+(-[a-z]+)?-\d:)?(\d{12}:)?(((key/)?[a-zA-Z0-9-_]+)|(alias/[a-zA-Z0-9:/_-]+))', ], 'EncryptionKeyType' => [ 'type' => 'string''enum' => [ 'KMS', ], ], 'GetTerminologyRequest' => [ 'type' => 'structure''required' => [ 'Name''TerminologyDataFormat', ], 'members' => [ 'Name' => [ 'shape' => 'ResourceName', ], 'TerminologyDataFormat' => [ 'shape' => 'TerminologyDataFormat', ], ], ], 'GetTerminologyResponse' => [ 'type' => 'structure''members' => [ 'TerminologyProperties' => [ 'shape' => 'TerminologyProperties', ], 'TerminologyDataLocation' => [ 'shape' => 'TerminologyDataLocation', ], ], ], 'IamRoleArn' => [ 'type' => 'string''max' => 2048'min' => 20'pattern' => 'arn:aws(-[^:]+)?:iam::[0-9]{12}:role/.+', ], 'ImportTerminologyRequest' => [ 'type' => 'structure''required' => [ 'Name''MergeStrategy''TerminologyData', ], 'members' => [ 'Name' => [ 'shape' => 'ResourceName', ], 'MergeStrategy' => [ 'shape' => 'MergeStrategy', ], 'Description' => [ 'shape' => 'Description', ], 'TerminologyData' => [ 'shape' => 'TerminologyData', ], 'EncryptionKey' => [ 'shape' => 'EncryptionKey', ], ], ], 'ImportTerminologyResponse' => [ 'type' => 'structure''members' => [ 'TerminologyProperties' => [ 'shape' => 'TerminologyProperties', ], ], ], 'InputDataConfig' => [ 'type' => 'structure''required' => [ 'S3Uri''ContentType', ], 'members' => [ 'S3Uri' => [ 'shape' => 'S3Uri', ], 'ContentType' => [ 'shape' => 'ContentType', ], ], ], 'Integer' => [ 'type' => 'integer', ], 'InternalServerException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true'fault' => true, ], 'InvalidFilterException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'InvalidParameterValueException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'InvalidRequestException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'JobDetails' => [ 'type' => 'structure''members' => [ 'TranslatedDocumentsCount' => [ 'shape' => 'Integer', ], 'DocumentsWithErrorsCount' => [ 'shape' => 'Integer', ], 'InputDocumentsCount' => [ 'shape' => 'Integer', ], ], ], 'JobId' => [ 'type' => 'string''max' => 32'min' => 1'pattern' => '^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$', ], 'JobName' => [ 'type' => 'string''max' => 256'min' => 1'pattern' => '^([\p{L}\p{Z}\p{N}_.:/=+\-%@]*)$', ], 'JobStatus' => [ 'type' => 'string''enum' => [ 'SUBMITTED''IN_PROGRESS''COMPLETED''COMPLETED_WITH_ERROR''FAILED''STOP_REQUESTED''STOPPED', ], ], 'LanguageCodeString' => [ 'type' => 'string''max' => 5'min' => 2, ], 'LanguageCodeStringList' => [ 'type' => 'list''member' => [ 'shape' => 'LanguageCodeString', ], ], 'LimitExceededException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'ListTerminologiesRequest' => [ 'type' => 'structure''members' => [ 'NextToken' => [ 'shape' => 'NextToken', ], 'MaxResults' => [ 'shape' => 'MaxResultsInteger', ], ], ], 'ListTerminologiesResponse' => [ 'type' => 'structure''members' => [ 'TerminologyPropertiesList' => [ 'shape' => 'TerminologyPropertiesList', ], 'NextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListTextTranslationJobsRequest' => [ 'type' => 'structure''members' => [ 'Filter' => [ 'shape' => 'TextTranslationJobFilter', ], 'NextToken' => [ 'shape' => 'NextToken', ], 'MaxResults' => [ 'shape' => 'MaxResultsInteger', ], ], ], 'ListTextTranslationJobsResponse' => [ 'type' => 'structure''members' => [ 'TextTranslationJobPropertiesList' => [ 'shape' => 'TextTranslationJobPropertiesList', ], 'NextToken' => [ 'shape' => 'NextToken', ], ], ], 'MaxResultsInteger' => [ 'type' => 'integer''max' => 500'min' => 1, ], 'MergeStrategy' => [ 'type' => 'string''enum' => [ 'OVERWRITE', ], ], 'NextToken' => [ 'type' => 'string''max' => 8192'pattern' => '\p{ASCII}{0,8192}', ], 'OutputDataConfig' => [ 'type' => 'structure''required' => [ 'S3Uri', ], 'members' => [ 'S3Uri' => [ 'shape' => 'S3Uri', ], ], ], 'ResourceName' => [ 'type' => 'string''max' => 256'min' => 1'pattern' => '^([A-Za-z0-9-]_?)+$', ], 'ResourceNameList' => [ 'type' => 'list''member' => [ 'shape' => 'ResourceName', ], ], 'ResourceNotFoundException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'S3Uri' => [ 'type' => 'string''max' => 1024'pattern' => 's3://[a-z0-9][\.\-a-z0-9]{1,61}[a-z0-9](/.*)?', ], 'ServiceUnavailableException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true'fault' => true, ], 'StartTextTranslationJobRequest' => [ 'type' => 'structure''required' => [ 'InputDataConfig''OutputDataConfig''DataAccessRoleArn''SourceLanguageCode''TargetLanguageCodes''ClientToken', ], 'members' => [ 'JobName' => [ 'shape' => 'JobName', ], 'InputDataConfig' => [ 'shape' => 'InputDataConfig', ], 'OutputDataConfig' => [ 'shape' => 'OutputDataConfig', ], 'DataAccessRoleArn' => [ 'shape' => 'IamRoleArn', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCodes' => [ 'shape' => 'TargetLanguageCodeStringList', ], 'TerminologyNames' => [ 'shape' => 'ResourceNameList', ], 'ClientToken' => [ 'shape' => 'ClientTokenString''idempotencyToken' => true, ], ], ], 'StartTextTranslationJobResponse' => [ 'type' => 'structure''members' => [ 'JobId' => [ 'shape' => 'JobId', ], 'JobStatus' => [ 'shape' => 'JobStatus', ], ], ], 'StopTextTranslationJobRequest' => [ 'type' => 'structure''required' => [ 'JobId', ], 'members' => [ 'JobId' => [ 'shape' => 'JobId', ], ], ], 'StopTextTranslationJobResponse' => [ 'type' => 'structure''members' => [ 'JobId' => [ 'shape' => 'JobId', ], 'JobStatus' => [ 'shape' => 'JobStatus', ], ], ], 'String' => [ 'type' => 'string''max' => 10000'pattern' => '[\P{M}\p{M}]{0,10000}', ], 'TargetLanguageCodeStringList' => [ 'type' => 'list''member' => [ 'shape' => 'LanguageCodeString', ], 'max' => 1'min' => 1, ], 'Term' => [ 'type' => 'structure''members' => [ 'SourceText' => [ 'shape' => 'String', ], 'TargetText' => [ 'shape' => 'String', ], ], ], 'TermList' => [ 'type' => 'list''member' => [ 'shape' => 'Term', ], ], 'TerminologyArn' => [ 'type' => 'string''pattern' => '^arn:aws((-us-gov)|(-iso)|(-iso-b)|(-cn))?:translate:[a-zA-Z0-9-]+:[0-9]{12}:terminology/.+?/.+?$', ], 'TerminologyData' => [ 'type' => 'structure''required' => [ 'File''Format', ], 'members' => [ 'File' => [ 'shape' => 'TerminologyFile', ], 'Format' => [ 'shape' => 'TerminologyDataFormat', ], ], ], 'TerminologyDataFormat' => [ 'type' => 'string''enum' => [ 'CSV''TMX', ], ], 'TerminologyDataLocation' => [ 'type' => 'structure''required' => [ 'RepositoryType''Location', ], 'members' => [ 'RepositoryType' => [ 'shape' => 'String', ], 'Location' => [ 'shape' => 'String', ], ], ], 'TerminologyFile' => [ 'type' => 'blob''max' => 10485760'sensitive' => true, ], 'TerminologyProperties' => [ 'type' => 'structure''members' => [ 'Name' => [ 'shape' => 'ResourceName', ], 'Description' => [ 'shape' => 'Description', ], 'Arn' => [ 'shape' => 'TerminologyArn', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCodes' => [ 'shape' => 'LanguageCodeStringList', ], 'EncryptionKey' => [ 'shape' => 'EncryptionKey', ], 'SizeBytes' => [ 'shape' => 'Integer', ], 'TermCount' => [ 'shape' => 'Integer', ], 'CreatedAt' => [ 'shape' => 'Timestamp', ], 'LastUpdatedAt' => [ 'shape' => 'Timestamp', ], ], ], 'TerminologyPropertiesList' => [ 'type' => 'list''member' => [ 'shape' => 'TerminologyProperties', ], ], 'TextSizeLimitExceededException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'TextTranslationJobFilter' => [ 'type' => 'structure''members' => [ 'JobName' => [ 'shape' => 'JobName', ], 'JobStatus' => [ 'shape' => 'JobStatus', ], 'SubmittedBeforeTime' => [ 'shape' => 'Timestamp', ], 'SubmittedAfterTime' => [ 'shape' => 'Timestamp', ], ], ], 'TextTranslationJobProperties' => [ 'type' => 'structure''members' => [ 'JobId' => [ 'shape' => 'JobId', ], 'JobName' => [ 'shape' => 'JobName', ], 'JobStatus' => [ 'shape' => 'JobStatus', ], 'JobDetails' => [ 'shape' => 'JobDetails', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCodes' => [ 'shape' => 'TargetLanguageCodeStringList', ], 'TerminologyNames' => [ 'shape' => 'ResourceNameList', ], 'Message' => [ 'shape' => 'UnboundedLengthString', ], 'SubmittedTime' => [ 'shape' => 'Timestamp', ], 'EndTime' => [ 'shape' => 'Timestamp', ], 'InputDataConfig' => [ 'shape' => 'InputDataConfig', ], 'OutputDataConfig' => [ 'shape' => 'OutputDataConfig', ], 'DataAccessRoleArn' => [ 'shape' => 'IamRoleArn', ], ], ], 'TextTranslationJobPropertiesList' => [ 'type' => 'list''member' => [ 'shape' => 'TextTranslationJobProperties', ], ], 'Timestamp' => [ 'type' => 'timestamp', ], 'TooManyRequestsException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], ], 'exception' => true, ], 'TranslateTextRequest' => [ 'type' => 'structure''required' => [ 'Text''SourceLanguageCode''TargetLanguageCode', ], 'members' => [ 'Text' => [ 'shape' => 'BoundedLengthString', ], 'TerminologyNames' => [ 'shape' => 'ResourceNameList', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCode' => [ 'shape' => 'LanguageCodeString', ], ], ], 'TranslateTextResponse' => [ 'type' => 'structure''required' => [ 'TranslatedText''SourceLanguageCode''TargetLanguageCode', ], 'members' => [ 'TranslatedText' => [ 'shape' => 'String', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'AppliedTerminologies' => [ 'shape' => 'AppliedTerminologyList', ], ], ], 'UnboundedLengthString' => [ 'type' => 'string', ], 'UnsupportedLanguagePairException' => [ 'type' => 'structure''members' => [ 'Message' => [ 'shape' => 'String', ], 'SourceLanguageCode' => [ 'shape' => 'LanguageCodeString', ], 'TargetLanguageCode' => [ 'shape' => 'LanguageCodeString', ], ], 'exception' => true, ], ],];
Онлайн: 0
Реклама