cloud9-2017-09-23.min.json 7.09 KB
{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2017-09-23",
    "endpointPrefix": "cloud9",
    "jsonVersion": "1.1",
    "protocol": "json",
    "serviceFullName": "AWS Cloud9",
    "serviceId": "Cloud9",
    "signatureVersion": "v4",
    "targetPrefix": "AWSCloud9WorkspaceManagementService",
    "uid": "cloud9-2017-09-23"
  },
  "operations": {
    "CreateEnvironmentEC2": {
      "input": {
        "type": "structure",
        "required": [
          "name",
          "instanceType"
        ],
        "members": {
          "name": {},
          "description": {
            "shape": "S3"
          },
          "clientRequestToken": {},
          "instanceType": {},
          "subnetId": {},
          "automaticStopTimeMinutes": {
            "type": "integer"
          },
          "ownerArn": {},
          "tags": {
            "shape": "S9"
          },
          "connectionType": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "environmentId": {}
        }
      },
      "idempotent": true
    },
    "CreateEnvironmentMembership": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId",
          "userArn",
          "permissions"
        ],
        "members": {
          "environmentId": {},
          "userArn": {},
          "permissions": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "membership": {
            "shape": "Sj"
          }
        }
      },
      "idempotent": true
    },
    "DeleteEnvironment": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId"
        ],
        "members": {
          "environmentId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      },
      "idempotent": true
    },
    "DeleteEnvironmentMembership": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId",
          "userArn"
        ],
        "members": {
          "environmentId": {},
          "userArn": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      },
      "idempotent": true
    },
    "DescribeEnvironmentMemberships": {
      "input": {
        "type": "structure",
        "members": {
          "userArn": {},
          "environmentId": {},
          "permissions": {
            "type": "list",
            "member": {}
          },
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "memberships": {
            "type": "list",
            "member": {
              "shape": "Sj"
            }
          },
          "nextToken": {}
        }
      }
    },
    "DescribeEnvironmentStatus": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId"
        ],
        "members": {
          "environmentId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "status": {},
          "message": {}
        }
      }
    },
    "DescribeEnvironments": {
      "input": {
        "type": "structure",
        "required": [
          "environmentIds"
        ],
        "members": {
          "environmentIds": {
            "type": "list",
            "member": {}
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "environments": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "id": {},
                "name": {},
                "description": {
                  "shape": "S3"
                },
                "type": {},
                "connectionType": {},
                "arn": {},
                "ownerArn": {},
                "lifecycle": {
                  "type": "structure",
                  "members": {
                    "status": {},
                    "reason": {},
                    "failureResource": {}
                  }
                }
              }
            }
          }
        }
      }
    },
    "ListEnvironments": {
      "input": {
        "type": "structure",
        "members": {
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "nextToken": {},
          "environmentIds": {
            "type": "list",
            "member": {}
          }
        }
      }
    },
    "ListTagsForResource": {
      "input": {
        "type": "structure",
        "required": [
          "ResourceARN"
        ],
        "members": {
          "ResourceARN": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Tags": {
            "shape": "S9"
          }
        }
      }
    },
    "TagResource": {
      "input": {
        "type": "structure",
        "required": [
          "ResourceARN",
          "Tags"
        ],
        "members": {
          "ResourceARN": {},
          "Tags": {
            "shape": "S9"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "UntagResource": {
      "input": {
        "type": "structure",
        "required": [
          "ResourceARN",
          "TagKeys"
        ],
        "members": {
          "ResourceARN": {},
          "TagKeys": {
            "type": "list",
            "member": {}
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "UpdateEnvironment": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId"
        ],
        "members": {
          "environmentId": {},
          "name": {},
          "description": {
            "shape": "S3"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      },
      "idempotent": true
    },
    "UpdateEnvironmentMembership": {
      "input": {
        "type": "structure",
        "required": [
          "environmentId",
          "userArn",
          "permissions"
        ],
        "members": {
          "environmentId": {},
          "userArn": {},
          "permissions": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "membership": {
            "shape": "Sj"
          }
        }
      },
      "idempotent": true
    }
  },
  "shapes": {
    "S3": {
      "type": "string",
      "sensitive": true
    },
    "S9": {
      "type": "list",
      "member": {
        "type": "structure",
        "required": [
          "Key",
          "Value"
        ],
        "members": {
          "Key": {},
          "Value": {}
        }
      }
    },
    "Sj": {
      "type": "structure",
      "members": {
        "permissions": {},
        "userId": {},
        "userArn": {},
        "environmentId": {},
        "lastAccess": {
          "type": "timestamp"
        }
      }
    }
  }
}