cloudworker-proxy
Version:
An api gateway for cloudflare workers
664 lines • 14 kB
JSON
{
"version": "2.0",
"metadata": {
"apiVersion": "2018-11-05",
"endpointPrefix": "transfer",
"jsonVersion": "1.1",
"protocol": "json",
"serviceAbbreviation": "AWS Transfer",
"serviceFullName": "AWS Transfer Family",
"serviceId": "Transfer",
"signatureVersion": "v4",
"signingName": "transfer",
"targetPrefix": "TransferService",
"uid": "transfer-2018-11-05"
},
"operations": {
"CreateServer": {
"input": {
"type": "structure",
"members": {
"Certificate": {},
"EndpointDetails": {
"shape": "S3"
},
"EndpointType": {},
"HostKey": {
"shape": "Sb"
},
"IdentityProviderDetails": {
"shape": "Sc"
},
"IdentityProviderType": {},
"LoggingRole": {},
"Protocols": {
"shape": "Sg"
},
"SecurityPolicyName": {},
"Tags": {
"shape": "Sj"
}
}
},
"output": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
}
},
"CreateUser": {
"input": {
"type": "structure",
"required": [
"Role",
"ServerId",
"UserName"
],
"members": {
"HomeDirectory": {},
"HomeDirectoryType": {},
"HomeDirectoryMappings": {
"shape": "Ss"
},
"Policy": {},
"Role": {},
"ServerId": {},
"SshPublicKeyBody": {},
"Tags": {
"shape": "Sj"
},
"UserName": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"ServerId": {},
"UserName": {}
}
}
},
"DeleteServer": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
}
},
"DeleteSshPublicKey": {
"input": {
"type": "structure",
"required": [
"ServerId",
"SshPublicKeyId",
"UserName"
],
"members": {
"ServerId": {},
"SshPublicKeyId": {},
"UserName": {}
}
}
},
"DeleteUser": {
"input": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"ServerId": {},
"UserName": {}
}
}
},
"DescribeSecurityPolicy": {
"input": {
"type": "structure",
"required": [
"SecurityPolicyName"
],
"members": {
"SecurityPolicyName": {}
}
},
"output": {
"type": "structure",
"required": [
"SecurityPolicy"
],
"members": {
"SecurityPolicy": {
"type": "structure",
"required": [
"SecurityPolicyName"
],
"members": {
"Fips": {
"type": "boolean"
},
"SecurityPolicyName": {},
"SshCiphers": {
"shape": "S18"
},
"SshKexs": {
"shape": "S18"
},
"SshMacs": {
"shape": "S18"
},
"TlsCiphers": {
"shape": "S18"
}
}
}
}
}
},
"DescribeServer": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
},
"output": {
"type": "structure",
"required": [
"Server"
],
"members": {
"Server": {
"type": "structure",
"required": [
"Arn"
],
"members": {
"Arn": {},
"Certificate": {},
"EndpointDetails": {
"shape": "S3"
},
"EndpointType": {},
"HostKeyFingerprint": {},
"IdentityProviderDetails": {
"shape": "Sc"
},
"IdentityProviderType": {},
"LoggingRole": {},
"Protocols": {
"shape": "Sg"
},
"SecurityPolicyName": {},
"ServerId": {},
"State": {},
"Tags": {
"shape": "Sj"
},
"UserCount": {
"type": "integer"
}
}
}
}
}
},
"DescribeUser": {
"input": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"ServerId": {},
"UserName": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId",
"User"
],
"members": {
"ServerId": {},
"User": {
"type": "structure",
"required": [
"Arn"
],
"members": {
"Arn": {},
"HomeDirectory": {},
"HomeDirectoryMappings": {
"shape": "Ss"
},
"HomeDirectoryType": {},
"Policy": {},
"Role": {},
"SshPublicKeys": {
"type": "list",
"member": {
"type": "structure",
"required": [
"DateImported",
"SshPublicKeyBody",
"SshPublicKeyId"
],
"members": {
"DateImported": {
"type": "timestamp"
},
"SshPublicKeyBody": {},
"SshPublicKeyId": {}
}
}
},
"Tags": {
"shape": "Sj"
},
"UserName": {}
}
}
}
}
},
"ImportSshPublicKey": {
"input": {
"type": "structure",
"required": [
"ServerId",
"SshPublicKeyBody",
"UserName"
],
"members": {
"ServerId": {},
"SshPublicKeyBody": {},
"UserName": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId",
"SshPublicKeyId",
"UserName"
],
"members": {
"ServerId": {},
"SshPublicKeyId": {},
"UserName": {}
}
}
},
"ListSecurityPolicies": {
"input": {
"type": "structure",
"members": {
"MaxResults": {
"type": "integer"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"required": [
"SecurityPolicyNames"
],
"members": {
"NextToken": {},
"SecurityPolicyNames": {
"type": "list",
"member": {}
}
}
}
},
"ListServers": {
"input": {
"type": "structure",
"members": {
"MaxResults": {
"type": "integer"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"required": [
"Servers"
],
"members": {
"NextToken": {},
"Servers": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Arn"
],
"members": {
"Arn": {},
"IdentityProviderType": {},
"EndpointType": {},
"LoggingRole": {},
"ServerId": {},
"State": {},
"UserCount": {
"type": "integer"
}
}
}
}
}
}
},
"ListTagsForResource": {
"input": {
"type": "structure",
"required": [
"Arn"
],
"members": {
"Arn": {},
"MaxResults": {
"type": "integer"
},
"NextToken": {}
}
},
"output": {
"type": "structure",
"members": {
"Arn": {},
"NextToken": {},
"Tags": {
"shape": "Sj"
}
}
}
},
"ListUsers": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"MaxResults": {
"type": "integer"
},
"NextToken": {},
"ServerId": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId",
"Users"
],
"members": {
"NextToken": {},
"ServerId": {},
"Users": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Arn"
],
"members": {
"Arn": {},
"HomeDirectory": {},
"HomeDirectoryType": {},
"Role": {},
"SshPublicKeyCount": {
"type": "integer"
},
"UserName": {}
}
}
}
}
}
},
"StartServer": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
}
},
"StopServer": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
}
},
"TagResource": {
"input": {
"type": "structure",
"required": [
"Arn",
"Tags"
],
"members": {
"Arn": {},
"Tags": {
"shape": "Sj"
}
}
}
},
"TestIdentityProvider": {
"input": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"ServerId": {},
"ServerProtocol": {},
"SourceIp": {},
"UserName": {},
"UserPassword": {
"type": "string",
"sensitive": true
}
}
},
"output": {
"type": "structure",
"required": [
"StatusCode",
"Url"
],
"members": {
"Response": {},
"StatusCode": {
"type": "integer"
},
"Message": {},
"Url": {}
}
}
},
"UntagResource": {
"input": {
"type": "structure",
"required": [
"Arn",
"TagKeys"
],
"members": {
"Arn": {},
"TagKeys": {
"type": "list",
"member": {}
}
}
}
},
"UpdateServer": {
"input": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"Certificate": {},
"EndpointDetails": {
"shape": "S3"
},
"EndpointType": {},
"HostKey": {
"shape": "Sb"
},
"IdentityProviderDetails": {
"shape": "Sc"
},
"LoggingRole": {},
"Protocols": {
"shape": "Sg"
},
"SecurityPolicyName": {},
"ServerId": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId"
],
"members": {
"ServerId": {}
}
}
},
"UpdateUser": {
"input": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"HomeDirectory": {},
"HomeDirectoryType": {},
"HomeDirectoryMappings": {
"shape": "Ss"
},
"Policy": {},
"Role": {},
"ServerId": {},
"UserName": {}
}
},
"output": {
"type": "structure",
"required": [
"ServerId",
"UserName"
],
"members": {
"ServerId": {},
"UserName": {}
}
}
}
},
"shapes": {
"S3": {
"type": "structure",
"members": {
"AddressAllocationIds": {
"type": "list",
"member": {}
},
"SubnetIds": {
"type": "list",
"member": {}
},
"VpcEndpointId": {},
"VpcId": {}
}
},
"Sb": {
"type": "string",
"sensitive": true
},
"Sc": {
"type": "structure",
"members": {
"Url": {},
"InvocationRole": {}
}
},
"Sg": {
"type": "list",
"member": {}
},
"Sj": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Key",
"Value"
],
"members": {
"Key": {},
"Value": {}
}
}
},
"Ss": {
"type": "list",
"member": {
"type": "structure",
"required": [
"Entry",
"Target"
],
"members": {
"Entry": {},
"Target": {}
}
}
},
"S18": {
"type": "list",
"member": {}
}
}
}