{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2016-10-24",
    "endpointPrefix": "sms",
    "jsonVersion": "1.1",
    "protocol": "json",
    "serviceAbbreviation": "SMS",
    "serviceFullName": "AWS Server Migration Service",
    "signatureVersion": "v4",
    "targetPrefix": "AWSServerMigrationService_V2016_10_24"
  },
  "operations": {
    "CreateReplicationJob": {
      "input": {
        "type": "structure",
        "required": [
          "serverId",
          "seedReplicationTime",
          "frequency"
        ],
        "members": {
          "serverId": {},
          "seedReplicationTime": {
            "type": "timestamp"
          },
          "frequency": {
            "type": "integer"
          },
          "licenseType": {},
          "roleName": {},
          "description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "replicationJobId": {}
        }
      }
    },
    "DeleteReplicationJob": {
      "input": {
        "type": "structure",
        "required": [
          "replicationJobId"
        ],
        "members": {
          "replicationJobId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DeleteServerCatalog": {
      "input": {
        "type": "structure",
        "members": {}
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DisassociateConnector": {
      "input": {
        "type": "structure",
        "required": [
          "connectorId"
        ],
        "members": {
          "connectorId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "GetConnectors": {
      "input": {
        "type": "structure",
        "members": {
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "connectorList": {
            "type": "list",
            "member": {
              "locationName": "item",
              "type": "structure",
              "members": {
                "connectorId": {},
                "version": {},
                "status": {},
                "capabilityList": {
                  "type": "list",
                  "member": {
                    "locationName": "item"
                  }
                },
                "vmManagerName": {},
                "vmManagerType": {},
                "vmManagerId": {},
                "ipAddress": {},
                "macAddress": {},
                "associatedOn": {
                  "type": "timestamp"
                }
              }
            }
          },
          "nextToken": {}
        }
      }
    },
    "GetReplicationJobs": {
      "input": {
        "type": "structure",
        "members": {
          "replicationJobId": {},
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "replicationJobList": {
            "type": "list",
            "member": {
              "shape": "Sz",
              "locationName": "item"
            }
          },
          "nextToken": {}
        }
      }
    },
    "GetReplicationRuns": {
      "input": {
        "type": "structure",
        "required": [
          "replicationJobId"
        ],
        "members": {
          "replicationJobId": {},
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "replicationJob": {
            "shape": "Sz"
          },
          "replicationRunList": {
            "shape": "S19"
          },
          "nextToken": {}
        }
      }
    },
    "GetServers": {
      "input": {
        "type": "structure",
        "members": {
          "nextToken": {},
          "maxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "lastModifiedOn": {
            "type": "timestamp"
          },
          "serverCatalogStatus": {},
          "serverList": {
            "type": "list",
            "member": {
              "locationName": "item",
              "type": "structure",
              "members": {
                "serverId": {},
                "serverType": {},
                "vmServer": {
                  "shape": "S11"
                },
                "replicationJobId": {},
                "replicationJobTerminated": {
                  "type": "boolean"
                }
              }
            }
          },
          "nextToken": {}
        }
      }
    },
    "ImportServerCatalog": {
      "input": {
        "type": "structure",
        "members": {}
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "StartOnDemandReplicationRun": {
      "input": {
        "type": "structure",
        "required": [
          "replicationJobId"
        ],
        "members": {
          "replicationJobId": {},
          "description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "replicationRunId": {}
        }
      }
    },
    "UpdateReplicationJob": {
      "input": {
        "type": "structure",
        "required": [
          "replicationJobId"
        ],
        "members": {
          "replicationJobId": {},
          "frequency": {
            "type": "integer"
          },
          "nextReplicationRunStartTime": {
            "type": "timestamp"
          },
          "licenseType": {},
          "roleName": {},
          "description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    }
  },
  "shapes": {
    "Sz": {
      "type": "structure",
      "members": {
        "replicationJobId": {},
        "serverId": {},
        "serverType": {},
        "vmServer": {
          "shape": "S11"
        },
        "seedReplicationTime": {
          "type": "timestamp"
        },
        "frequency": {
          "type": "integer"
        },
        "nextReplicationRunStartTime": {
          "type": "timestamp"
        },
        "licenseType": {},
        "roleName": {},
        "latestAmiId": {},
        "state": {},
        "statusMessage": {},
        "description": {},
        "replicationRunList": {
          "shape": "S19"
        }
      }
    },
    "S11": {
      "type": "structure",
      "members": {
        "vmServerAddress": {
          "type": "structure",
          "members": {
            "vmManagerId": {},
            "vmId": {}
          }
        },
        "vmName": {},
        "vmManagerName": {},
        "vmManagerType": {},
        "vmPath": {}
      }
    },
    "S19": {
      "type": "list",
      "member": {
        "locationName": "item",
        "type": "structure",
        "members": {
          "replicationRunId": {},
          "state": {},
          "type": {},
          "statusMessage": {},
          "amiId": {},
          "scheduledStartTime": {
            "type": "timestamp"
          },
          "completedTime": {
            "type": "timestamp"
          },
          "description": {}
        }
      }
    }
  }
}