UNPKG

openapi-directory

Version:

Building & bundling https://github.com/APIs-guru/openapi-directory for easy use from JS

1 lines 7.85 kB
{"openapi":"3.0.0","info":{"version":"2018-08-01","x-release":"v4","title":"AWS RDS DataService","description":"AWS RDS DataService provides Http Endpoint to query RDS databases.","x-logo":{"url":"https://twitter.com/awscloud/profile_image?size=original","backgroundColor":"#FFFFFF"},"termsOfService":"https://aws.amazon.com/service-terms/","contact":{"name":"Mike Ralphson","email":"mike.ralphson@gmail.com","url":"https://github.com/mermade/aws2openapi","x-twitter":"PermittedSoc"},"license":{"name":"Apache 2.0 License","url":"http://www.apache.org/licenses/"},"x-providerName":"amazonaws.com","x-serviceName":"rds-data","x-origin":[{"contentType":"application/json","url":"https://raw.githubusercontent.com/aws/aws-sdk-js/master/apis/rds-data-2018-08-01.normal.json","converter":{"url":"https://github.com/mermade/aws2openapi","version":"1.0.0"},"x-apisguru-direct":true}],"x-apiClientRegistration":{"url":"https://portal.aws.amazon.com/gp/aws/developer/registration/index.html?nc2=h_ct"},"x-apisguru-categories":["cloud"],"x-preferred":true},"externalDocs":{"description":"Amazon Web Services documentation","url":"https://aws.amazon.com/rds-data/"},"security":[{"hmac":[]}],"paths":{"/ExecuteSql":{"post":{"operationId":"ExecuteSql","description":"Executes any SQL statement on the target database synchronously","responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteSqlResponse"}}}},"480":{"description":"BadRequestException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BadRequestException"}}}},"481":{"description":"ForbiddenException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ForbiddenException"}}}},"482":{"description":"InternalServerErrorException","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InternalServerErrorException"}}}},"483":{"description":"ServiceUnavailableError","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ServiceUnavailableError"}}}}},"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ExecuteSqlRequest"}}},"required":true}},"parameters":[{"$ref":"#/components/parameters/Action"},{"$ref":"#/components/parameters/Version"},{"$ref":"#/components/parameters/X-Amz-Content-Sha256"},{"$ref":"#/components/parameters/X-Amz-Date"},{"$ref":"#/components/parameters/X-Amz-Algorithm"},{"$ref":"#/components/parameters/X-Amz-Credential"},{"$ref":"#/components/parameters/X-Amz-Security-Token"},{"$ref":"#/components/parameters/X-Amz-Signature"},{"$ref":"#/components/parameters/X-Amz-SignedHeaders"}]}},"servers":[{"url":"https://rds-data.amazonaws.com/"},{"url":"http://rds-data.amazonaws.com/"}],"components":{"parameters":{"Action":{"name":"Action","in":"query","required":true,"schema":{"type":"string"}},"Version":{"name":"Version","in":"query","required":true,"schema":{"type":"string"}},"X-Amz-Content-Sha256":{"name":"X-Amz-Content-Sha256","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Date":{"name":"X-Amz-Date","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Algorithm":{"name":"X-Amz-Algorithm","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Credential":{"name":"X-Amz-Credential","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Security-Token":{"name":"X-Amz-Security-Token","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-Signature":{"name":"X-Amz-Signature","in":"header","required":false,"schema":{"type":"string"}},"X-Amz-SignedHeaders":{"name":"X-Amz-SignedHeaders","in":"header","required":false,"schema":{"type":"string"}}},"securitySchemes":{"hmac":{"type":"apiKey","name":"Authorization","in":"header","description":"Amazon Signature authorization v4","x-amazon-apigateway-authtype":"awsSigv4"}},"schemas":{"ExecuteSqlResponse":{"type":"object","required":["sqlStatementResults"],"properties":{"sqlStatementResults":{"$ref":"#/components/schemas/SqlStatementResults"}},"description":"Execute SQL response"},"ExecuteSqlRequest":{"type":"object","required":["awsSecretStoreArn","dbClusterOrInstanceArn","sqlStatements"],"properties":{"awsSecretStoreArn":{"$ref":"#/components/schemas/Arn"},"database":{"$ref":"#/components/schemas/DbName"},"dbClusterOrInstanceArn":{"$ref":"#/components/schemas/Arn"},"schema":{"$ref":"#/components/schemas/DbName"},"sqlStatements":{"$ref":"#/components/schemas/SqlStatement"}},"description":"Execute SQL Request"},"BadRequestException":{},"ForbiddenException":{},"InternalServerErrorException":{},"ServiceUnavailableError":{},"Boolean":{"type":"boolean"},"ArrayValues":{"type":"array","description":"Array value","items":{"$ref":"#/components/schemas/Value"}},"Long":{"type":"integer"},"Blob":{"type":"string"},"Double":{"type":"number","format":"double"},"Integer":{"type":"integer"},"Float":{"type":"number","format":"float"},"String":{"type":"string"},"StructValue":{"type":"object","properties":{"attributes":{"$ref":"#/components/schemas/ArrayValues"}},"description":"User Defined Type"},"Value":{"type":"object","properties":{"arrayValues":{"$ref":"#/components/schemas/ArrayValues"},"bigIntValue":{"$ref":"#/components/schemas/Long"},"bitValue":{"$ref":"#/components/schemas/Boolean"},"blobValue":{"$ref":"#/components/schemas/Blob"},"doubleValue":{"$ref":"#/components/schemas/Double"},"intValue":{"$ref":"#/components/schemas/Integer"},"isNull":{"$ref":"#/components/schemas/Boolean"},"realValue":{"$ref":"#/components/schemas/Float"},"stringValue":{"$ref":"#/components/schemas/String"},"structValue":{"$ref":"#/components/schemas/StructValue"}},"description":"Column value"},"SqlStatementResult":{"type":"object","properties":{"numberOfRecordsUpdated":{"$ref":"#/components/schemas/Long"},"resultFrame":{"$ref":"#/components/schemas/ResultFrame"}},"description":"SQL statement execution result"},"SqlStatementResults":{"type":"array","description":"SQL statement execution results","items":{"$ref":"#/components/schemas/SqlStatementResult"}},"ColumnMetadata":{"type":"object","properties":{"arrayBaseColumnType":{"$ref":"#/components/schemas/Integer"},"isAutoIncrement":{"$ref":"#/components/schemas/Boolean"},"isCaseSensitive":{"$ref":"#/components/schemas/Boolean"},"isCurrency":{"$ref":"#/components/schemas/Boolean"},"isSigned":{"$ref":"#/components/schemas/Boolean"},"label":{"$ref":"#/components/schemas/String"},"name":{"$ref":"#/components/schemas/String"},"nullable":{"$ref":"#/components/schemas/Integer"},"precision":{"$ref":"#/components/schemas/Integer"},"scale":{"$ref":"#/components/schemas/Integer"},"schemaName":{"$ref":"#/components/schemas/String"},"tableName":{"$ref":"#/components/schemas/String"},"type":{"$ref":"#/components/schemas/Integer"},"typeName":{"$ref":"#/components/schemas/String"}},"description":"Column Metadata"},"ColumnMetadataList":{"type":"array","description":"List of Column metadata","items":{"$ref":"#/components/schemas/ColumnMetadata"}},"Records":{"type":"array","description":"List of records","items":{"$ref":"#/components/schemas/Record"}},"ResultSetMetadata":{"type":"object","properties":{"columnCount":{"$ref":"#/components/schemas/Long"},"columnMetadata":{"$ref":"#/components/schemas/ColumnMetadataList"}},"description":"List of columns and their types."},"ResultFrame":{"type":"object","properties":{"records":{"$ref":"#/components/schemas/Records"},"resultSetMetadata":{"$ref":"#/components/schemas/ResultSetMetadata"}},"description":"Result Frame"},"Row":{"type":"array","description":"List of column values","items":{"$ref":"#/components/schemas/Value"}},"Record":{"type":"object","properties":{"values":{"$ref":"#/components/schemas/Row"}},"description":"Row or Record"},"Arn":{"type":"string","maxLength":1024},"DbName":{"type":"string","maxLength":64},"SqlStatement":{"type":"string","maxLength":65536}}}}