@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS Cloud9
@version 2017-09-23
@auth AWS SigV4
@endpoints 13
@toc root(13)

@endpoint POST /
@required {name: str, instanceType: str, imageId: str}
@optional {description: str, clientRequestToken: str, subnetId: str, automaticStopTimeMinutes: int, ownerArn: str, tags: [Tag], connectionType: str, dryRun: bool}
@returns(200) {environmentId: str?}

@endpoint POST /
@required {environmentId: str, userArn: str, permissions: str}
@returns(200) {membership: EnvironmentMember{permissions: str, userId: str, userArn: str, environmentId: str, lastAccess: str(timestamp)?}}

@endpoint POST /
@required {environmentId: str}

@endpoint POST /
@required {environmentId: str, userArn: str}

@endpoint POST /
@optional {userArn: str, environmentId: str, permissions: [str], nextToken: str, maxResults: int}
@returns(200) {memberships: [EnvironmentMember]?, nextToken: str?}

@endpoint POST /
@required {environmentId: str}
@returns(200) {status: str, message: str}

@endpoint POST /
@required {environmentIds: [str]}
@returns(200) {environments: [Environment]?}

@endpoint POST /
@optional {nextToken: str, maxResults: int}
@returns(200) {nextToken: str?, environmentIds: [str]?}

@endpoint POST /
@required {ResourceARN: str}
@returns(200) {Tags: [Tag]?}

@endpoint POST /
@required {ResourceARN: str, Tags: [Tag]}

@endpoint POST /
@required {ResourceARN: str, TagKeys: [str]}

@endpoint POST /
@required {environmentId: str}
@optional {name: str, description: str, managedCredentialsAction: str}

@endpoint POST /
@required {environmentId: str, userArn: str, permissions: str}
@returns(200) {membership: EnvironmentMember?{permissions: str, userId: str, userArn: str, environmentId: str, lastAccess: str(timestamp)?}}

@end
