{
  "version": "2.0",
  "metadata": {
    "apiVersion": "2016-11-01",
    "endpointPrefix": "opsworks-cm",
    "jsonVersion": "1.1",
    "protocol": "json",
    "serviceAbbreviation": "OpsWorksCM",
    "serviceFullName": "AWS OpsWorks for Chef Automate",
    "signatureVersion": "v4",
    "signingName": "opsworks-cm",
    "targetPrefix": "OpsWorksCM_V2016_11_01",
    "uid": "opsworkscm-2016-11-01"
  },
  "operations": {
    "AssociateNode": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName",
          "NodeName",
          "EngineAttributes"
        ],
        "members": {
          "ServerName": {},
          "NodeName": {},
          "EngineAttributes": {
            "shape": "S4"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "NodeAssociationStatusToken": {}
        }
      }
    },
    "CreateBackup": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName"
        ],
        "members": {
          "ServerName": {},
          "Description": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Backup": {
            "shape": "Sd"
          }
        }
      }
    },
    "CreateServer": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName",
          "InstanceProfileArn",
          "InstanceType",
          "ServiceRoleArn"
        ],
        "members": {
          "AssociatePublicIpAddress": {
            "type": "boolean"
          },
          "DisableAutomatedBackup": {
            "type": "boolean"
          },
          "Engine": {},
          "EngineModel": {},
          "EngineVersion": {},
          "EngineAttributes": {
            "shape": "S4"
          },
          "BackupRetentionCount": {
            "type": "integer"
          },
          "ServerName": {},
          "InstanceProfileArn": {},
          "InstanceType": {},
          "KeyPair": {},
          "PreferredMaintenanceWindow": {},
          "PreferredBackupWindow": {},
          "SecurityGroupIds": {
            "shape": "Sj"
          },
          "ServiceRoleArn": {},
          "SubnetIds": {
            "shape": "Sj"
          },
          "BackupId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Server": {
            "shape": "Ss"
          }
        }
      }
    },
    "DeleteBackup": {
      "input": {
        "type": "structure",
        "required": [
          "BackupId"
        ],
        "members": {
          "BackupId": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DeleteServer": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName"
        ],
        "members": {
          "ServerName": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "DescribeAccountAttributes": {
      "input": {
        "type": "structure",
        "members": {}
      },
      "output": {
        "type": "structure",
        "members": {
          "Attributes": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "Name": {},
                "Maximum": {
                  "type": "integer"
                },
                "Used": {
                  "type": "integer"
                }
              }
            }
          }
        }
      }
    },
    "DescribeBackups": {
      "input": {
        "type": "structure",
        "members": {
          "BackupId": {},
          "ServerName": {},
          "NextToken": {},
          "MaxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Backups": {
            "type": "list",
            "member": {
              "shape": "Sd"
            }
          },
          "NextToken": {}
        }
      }
    },
    "DescribeEvents": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName"
        ],
        "members": {
          "ServerName": {},
          "NextToken": {},
          "MaxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "ServerEvents": {
            "type": "list",
            "member": {
              "type": "structure",
              "members": {
                "CreatedAt": {
                  "type": "timestamp"
                },
                "ServerName": {},
                "Message": {},
                "LogUrl": {}
              }
            }
          },
          "NextToken": {}
        }
      }
    },
    "DescribeNodeAssociationStatus": {
      "input": {
        "type": "structure",
        "required": [
          "NodeAssociationStatusToken",
          "ServerName"
        ],
        "members": {
          "NodeAssociationStatusToken": {},
          "ServerName": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "NodeAssociationStatus": {}
        }
      }
    },
    "DescribeServers": {
      "input": {
        "type": "structure",
        "members": {
          "ServerName": {},
          "NextToken": {},
          "MaxResults": {
            "type": "integer"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Servers": {
            "type": "list",
            "member": {
              "shape": "Ss"
            }
          },
          "NextToken": {}
        }
      }
    },
    "DisassociateNode": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName",
          "NodeName"
        ],
        "members": {
          "ServerName": {},
          "NodeName": {},
          "EngineAttributes": {
            "shape": "S4"
          }
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "NodeAssociationStatusToken": {}
        }
      }
    },
    "RestoreServer": {
      "input": {
        "type": "structure",
        "required": [
          "BackupId",
          "ServerName"
        ],
        "members": {
          "BackupId": {},
          "ServerName": {},
          "InstanceType": {},
          "KeyPair": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {}
      }
    },
    "StartMaintenance": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName"
        ],
        "members": {
          "ServerName": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Server": {
            "shape": "Ss"
          }
        }
      }
    },
    "UpdateServer": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName"
        ],
        "members": {
          "DisableAutomatedBackup": {
            "type": "boolean"
          },
          "BackupRetentionCount": {
            "type": "integer"
          },
          "ServerName": {},
          "PreferredMaintenanceWindow": {},
          "PreferredBackupWindow": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Server": {
            "shape": "Ss"
          }
        }
      }
    },
    "UpdateServerEngineAttributes": {
      "input": {
        "type": "structure",
        "required": [
          "ServerName",
          "AttributeName"
        ],
        "members": {
          "ServerName": {},
          "AttributeName": {},
          "AttributeValue": {}
        }
      },
      "output": {
        "type": "structure",
        "members": {
          "Server": {
            "shape": "Ss"
          }
        }
      }
    }
  },
  "shapes": {
    "S4": {
      "type": "list",
      "member": {
        "type": "structure",
        "members": {
          "Name": {},
          "Value": {
            "type": "string",
            "sensitive": true
          }
        }
      }
    },
    "Sd": {
      "type": "structure",
      "members": {
        "BackupArn": {},
        "BackupId": {},
        "BackupType": {},
        "CreatedAt": {
          "type": "timestamp"
        },
        "Description": {},
        "Engine": {},
        "EngineModel": {},
        "EngineVersion": {},
        "InstanceProfileArn": {},
        "InstanceType": {},
        "KeyPair": {},
        "PreferredBackupWindow": {},
        "PreferredMaintenanceWindow": {},
        "S3DataSize": {
          "deprecated": true,
          "type": "integer"
        },
        "S3DataUrl": {
          "deprecated": true
        },
        "S3LogUrl": {},
        "SecurityGroupIds": {
          "shape": "Sj"
        },
        "ServerName": {},
        "ServiceRoleArn": {},
        "Status": {},
        "StatusDescription": {},
        "SubnetIds": {
          "shape": "Sj"
        },
        "ToolsVersion": {},
        "UserArn": {}
      }
    },
    "Sj": {
      "type": "list",
      "member": {}
    },
    "Ss": {
      "type": "structure",
      "members": {
        "AssociatePublicIpAddress": {
          "type": "boolean"
        },
        "BackupRetentionCount": {
          "type": "integer"
        },
        "ServerName": {},
        "CreatedAt": {
          "type": "timestamp"
        },
        "CloudFormationStackArn": {},
        "DisableAutomatedBackup": {
          "type": "boolean"
        },
        "Endpoint": {},
        "Engine": {},
        "EngineModel": {},
        "EngineAttributes": {
          "shape": "S4"
        },
        "EngineVersion": {},
        "InstanceProfileArn": {},
        "InstanceType": {},
        "KeyPair": {},
        "MaintenanceStatus": {},
        "PreferredMaintenanceWindow": {},
        "PreferredBackupWindow": {},
        "SecurityGroupIds": {
          "shape": "Sj"
        },
        "ServiceRoleArn": {},
        "Status": {},
        "StatusReason": {},
        "SubnetIds": {
          "shape": "Sj"
        },
        "ServerArn": {}
      }
    }
  }
}