@lap v0.3
# Machine-readable API spec. Each @endpoint block is one API call.
@api AWS OpsWorks CM
@version 2016-11-01
@auth AWS SigV4
@endpoints 19
@toc root(19)

@endpoint POST /
@required {ServerName: str, NodeName: str, EngineAttributes: [EngineAttribute]}
@returns(200) {NodeAssociationStatusToken: str?}

@endpoint POST /
@required {ServerName: str}
@optional {Description: str, Tags: [Tag]}
@returns(200) {Backup: Backup?{BackupArn: str?, BackupId: str?, BackupType: str?, CreatedAt: str(timestamp)?, Description: str?, Engine: str?, EngineModel: str?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, PreferredBackupWindow: str?, PreferredMaintenanceWindow: str?, S3DataSize: int?, S3DataUrl: str?, S3LogUrl: str?, SecurityGroupIds: [str]?, ServerName: str?, ServiceRoleArn: str?, Status: str?, StatusDescription: str?, SubnetIds: [str]?, ToolsVersion: str?, UserArn: str?}}

@endpoint POST /
@required {Engine: str, ServerName: str, InstanceProfileArn: str, InstanceType: str, ServiceRoleArn: str}
@optional {AssociatePublicIpAddress: bool, CustomDomain: str, CustomCertificate: str, CustomPrivateKey: str, DisableAutomatedBackup: bool, EngineModel: str, EngineVersion: str, EngineAttributes: [EngineAttribute], BackupRetentionCount: int, KeyPair: str, PreferredMaintenanceWindow: str, PreferredBackupWindow: str, SecurityGroupIds: [str], SubnetIds: [str], Tags: [Tag], BackupId: str}
@returns(200) {Server: Server?{AssociatePublicIpAddress: bool?, BackupRetentionCount: int?, ServerName: str?, CreatedAt: str(timestamp)?, CloudFormationStackArn: str?, CustomDomain: str?, DisableAutomatedBackup: bool?, Endpoint: str?, Engine: str?, EngineModel: str?, EngineAttributes: [EngineAttribute]?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, MaintenanceStatus: str?, PreferredMaintenanceWindow: str?, PreferredBackupWindow: str?, SecurityGroupIds: [str]?, ServiceRoleArn: str?, Status: str?, StatusReason: str?, SubnetIds: [str]?, ServerArn: str?}}

@endpoint POST /
@required {BackupId: str}

@endpoint POST /
@required {ServerName: str}

@endpoint POST /
@returns(200) {Attributes: [AccountAttribute]?}

@endpoint POST /
@optional {BackupId: str, ServerName: str, NextToken: str, MaxResults: int}
@returns(200) {Backups: [Backup]?, NextToken: str?}

@endpoint POST /
@required {ServerName: str}
@optional {NextToken: str, MaxResults: int}
@returns(200) {ServerEvents: [ServerEvent]?, NextToken: str?}

@endpoint POST /
@required {NodeAssociationStatusToken: str, ServerName: str}
@returns(200) {NodeAssociationStatus: str?, EngineAttributes: [EngineAttribute]?}

@endpoint POST /
@optional {ServerName: str, NextToken: str, MaxResults: int}
@returns(200) {Servers: [Server]?, NextToken: str?}

@endpoint POST /
@required {ServerName: str, NodeName: str}
@optional {EngineAttributes: [EngineAttribute]}
@returns(200) {NodeAssociationStatusToken: str?}

@endpoint POST /
@required {ExportAttributeName: str, ServerName: str}
@optional {InputAttributes: [EngineAttribute]}
@returns(200) {EngineAttribute: EngineAttribute?{Name: str?, Value: str?}, ServerName: str?}

@endpoint POST /
@required {ResourceArn: str}
@optional {NextToken: str, MaxResults: int}
@returns(200) {Tags: [Tag]?, NextToken: str?}

@endpoint POST /
@required {BackupId: str, ServerName: str}
@optional {InstanceType: str, KeyPair: str}
@returns(200) {Server: Server?{AssociatePublicIpAddress: bool?, BackupRetentionCount: int?, ServerName: str?, CreatedAt: str(timestamp)?, CloudFormationStackArn: str?, CustomDomain: str?, DisableAutomatedBackup: bool?, Endpoint: str?, Engine: str?, EngineModel: str?, EngineAttributes: [EngineAttribute]?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, MaintenanceStatus: str?, PreferredMaintenanceWindow: str?, PreferredBackupWindow: str?, SecurityGroupIds: [str]?, ServiceRoleArn: str?, Status: str?, StatusReason: str?, SubnetIds: [str]?, ServerArn: str?}}

@endpoint POST /
@required {ServerName: str}
@optional {EngineAttributes: [EngineAttribute]}
@returns(200) {Server: Server?{AssociatePublicIpAddress: bool?, BackupRetentionCount: int?, ServerName: str?, CreatedAt: str(timestamp)?, CloudFormationStackArn: str?, CustomDomain: str?, DisableAutomatedBackup: bool?, Endpoint: str?, Engine: str?, EngineModel: str?, EngineAttributes: [EngineAttribute]?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, MaintenanceStatus: str?, PreferredMaintenanceWindow: str?, PreferredBackupWindow: str?, SecurityGroupIds: [str]?, ServiceRoleArn: str?, Status: str?, StatusReason: str?, SubnetIds: [str]?, ServerArn: str?}}

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

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

@endpoint POST /
@required {ServerName: str}
@optional {DisableAutomatedBackup: bool, BackupRetentionCount: int, PreferredMaintenanceWindow: str, PreferredBackupWindow: str}
@returns(200) {Server: Server?{AssociatePublicIpAddress: bool?, BackupRetentionCount: int?, ServerName: str?, CreatedAt: str(timestamp)?, CloudFormationStackArn: str?, CustomDomain: str?, DisableAutomatedBackup: bool?, Endpoint: str?, Engine: str?, EngineModel: str?, EngineAttributes: [EngineAttribute]?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, MaintenanceStatus: str?, PreferredMaintenanceWindow: str?, PreferredBackupWindow: str?, SecurityGroupIds: [str]?, ServiceRoleArn: str?, Status: str?, StatusReason: str?, SubnetIds: [str]?, ServerArn: str?}}

@endpoint POST /
@required {ServerName: str, AttributeName: str}
@optional {AttributeValue: str}
@returns(200) {Server: Server?{AssociatePublicIpAddress: bool?, BackupRetentionCount: int?, ServerName: str?, CreatedAt: str(timestamp)?, CloudFormationStackArn: str?, CustomDomain: str?, DisableAutomatedBackup: bool?, Endpoint: str?, Engine: str?, EngineModel: str?, EngineAttributes: [EngineAttribute]?, EngineVersion: str?, InstanceProfileArn: str?, InstanceType: str?, KeyPair: str?, MaintenanceStatus: str?, PreferredMaintenanceWindow: str?, PreferredBackupWindow: str?, SecurityGroupIds: [str]?, ServiceRoleArn: str?, Status: str?, StatusReason: str?, SubnetIds: [str]?, ServerArn: str?}}

@end
