{ "version":"2.0", "metadata":{ "apiVersion":"2016-11-01", "endpointPrefix":"opsworks-cm", "jsonVersion":"1.1", "protocol":"json", "serviceAbbreviation":"OpsWorksCM", "serviceFullName":"AWS OpsWorks for Chef Automate", "serviceId":"OpsWorksCM", "signatureVersion":"v4", "signingName":"opsworks-cm", "targetPrefix":"OpsWorksCM_V2016_11_01", "uid":"opsworkscm-2016-11-01" }, "operations":{ "AssociateNode":{ "name":"AssociateNode", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"AssociateNodeRequest"}, "output":{"shape":"AssociateNodeResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "CreateBackup":{ "name":"CreateBackup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateBackupRequest"}, "output":{"shape":"CreateBackupResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"LimitExceededException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "CreateServer":{ "name":"CreateServer", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"CreateServerRequest"}, "output":{"shape":"CreateServerResponse"}, "errors":[ {"shape":"LimitExceededException"}, {"shape":"ResourceAlreadyExistsException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "DeleteBackup":{ "name":"DeleteBackup", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteBackupRequest"}, "output":{"shape":"DeleteBackupResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "DeleteServer":{ "name":"DeleteServer", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DeleteServerRequest"}, "output":{"shape":"DeleteServerResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "DescribeAccountAttributes":{ "name":"DescribeAccountAttributes", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeAccountAttributesRequest"}, "output":{"shape":"DescribeAccountAttributesResponse"} }, "DescribeBackups":{ "name":"DescribeBackups", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeBackupsRequest"}, "output":{"shape":"DescribeBackupsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidNextTokenException"} ] }, "DescribeEvents":{ "name":"DescribeEvents", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeEventsRequest"}, "output":{"shape":"DescribeEventsResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"InvalidNextTokenException"}, {"shape":"ResourceNotFoundException"} ] }, "DescribeNodeAssociationStatus":{ "name":"DescribeNodeAssociationStatus", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeNodeAssociationStatusRequest"}, "output":{"shape":"DescribeNodeAssociationStatusResponse"}, "errors":[ {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "DescribeServers":{ "name":"DescribeServers", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DescribeServersRequest"}, "output":{"shape":"DescribeServersResponse"}, "errors":[ {"shape":"ValidationException"}, {"shape":"ResourceNotFoundException"}, {"shape":"InvalidNextTokenException"} ] }, "DisassociateNode":{ "name":"DisassociateNode", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"DisassociateNodeRequest"}, "output":{"shape":"DisassociateNodeResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "RestoreServer":{ "name":"RestoreServer", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"RestoreServerRequest"}, "output":{"shape":"RestoreServerResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "StartMaintenance":{ "name":"StartMaintenance", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"StartMaintenanceRequest"}, "output":{"shape":"StartMaintenanceResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "UpdateServer":{ "name":"UpdateServer", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateServerRequest"}, "output":{"shape":"UpdateServerResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] }, "UpdateServerEngineAttributes":{ "name":"UpdateServerEngineAttributes", "http":{ "method":"POST", "requestUri":"/" }, "input":{"shape":"UpdateServerEngineAttributesRequest"}, "output":{"shape":"UpdateServerEngineAttributesResponse"}, "errors":[ {"shape":"InvalidStateException"}, {"shape":"ResourceNotFoundException"}, {"shape":"ValidationException"} ] } }, "shapes":{ "AccountAttribute":{ "type":"structure", "members":{ "Name":{"shape":"String"}, "Maximum":{"shape":"Integer"}, "Used":{"shape":"Integer"} } }, "AccountAttributes":{ "type":"list", "member":{"shape":"AccountAttribute"} }, "AssociateNodeRequest":{ "type":"structure", "required":[ "ServerName", "NodeName", "EngineAttributes" ], "members":{ "ServerName":{"shape":"ServerName"}, "NodeName":{"shape":"NodeName"}, "EngineAttributes":{"shape":"EngineAttributes"} } }, "AssociateNodeResponse":{ "type":"structure", "members":{ "NodeAssociationStatusToken":{"shape":"NodeAssociationStatusToken"} } }, "AttributeName":{ "type":"string", "max":64, "min":1, "pattern":"[A-Z][A-Z0-9_]*" }, "AttributeValue":{"type":"string"}, "Backup":{ "type":"structure", "members":{ "BackupArn":{"shape":"String"}, "BackupId":{"shape":"BackupId"}, "BackupType":{"shape":"BackupType"}, "CreatedAt":{"shape":"Timestamp"}, "Description":{"shape":"String"}, "Engine":{"shape":"String"}, "EngineModel":{"shape":"String"}, "EngineVersion":{"shape":"String"}, "InstanceProfileArn":{"shape":"String"}, "InstanceType":{"shape":"String"}, "KeyPair":{"shape":"String"}, "PreferredBackupWindow":{"shape":"TimeWindowDefinition"}, "PreferredMaintenanceWindow":{"shape":"TimeWindowDefinition"}, "S3DataSize":{ "shape":"Integer", "deprecated":true }, "S3DataUrl":{ "shape":"String", "deprecated":true }, "S3LogUrl":{"shape":"String"}, "SecurityGroupIds":{"shape":"Strings"}, "ServerName":{"shape":"ServerName"}, "ServiceRoleArn":{"shape":"String"}, "Status":{"shape":"BackupStatus"}, "StatusDescription":{"shape":"String"}, "SubnetIds":{"shape":"Strings"}, "ToolsVersion":{"shape":"String"}, "UserArn":{"shape":"String"} } }, "BackupId":{ "type":"string", "max":79 }, "BackupRetentionCountDefinition":{ "type":"integer", "min":1 }, "BackupStatus":{ "type":"string", "enum":[ "IN_PROGRESS", "OK", "FAILED", "DELETING" ] }, "BackupType":{ "type":"string", "enum":[ "AUTOMATED", "MANUAL" ] }, "Backups":{ "type":"list", "member":{"shape":"Backup"} }, "Boolean":{"type":"boolean"}, "CreateBackupRequest":{ "type":"structure", "required":["ServerName"], "members":{ "ServerName":{"shape":"ServerName"}, "Description":{"shape":"String"} } }, "CreateBackupResponse":{ "type":"structure", "members":{ "Backup":{"shape":"Backup"} } }, "CreateServerRequest":{ "type":"structure", "required":[ "ServerName", "InstanceProfileArn", "InstanceType", "ServiceRoleArn" ], "members":{ "AssociatePublicIpAddress":{"shape":"Boolean"}, "DisableAutomatedBackup":{"shape":"Boolean"}, "Engine":{"shape":"String"}, "EngineModel":{"shape":"String"}, "EngineVersion":{"shape":"String"}, "EngineAttributes":{"shape":"EngineAttributes"}, "BackupRetentionCount":{"shape":"BackupRetentionCountDefinition"}, "ServerName":{"shape":"ServerName"}, "InstanceProfileArn":{"shape":"InstanceProfileArn"}, "InstanceType":{"shape":"String"}, "KeyPair":{"shape":"KeyPair"}, "PreferredMaintenanceWindow":{"shape":"TimeWindowDefinition"}, "PreferredBackupWindow":{"shape":"TimeWindowDefinition"}, "SecurityGroupIds":{"shape":"Strings"}, "ServiceRoleArn":{"shape":"ServiceRoleArn"}, "SubnetIds":{"shape":"Strings"}, "BackupId":{"shape":"BackupId"} } }, "CreateServerResponse":{ "type":"structure", "members":{ "Server":{"shape":"Server"} } }, "DeleteBackupRequest":{ "type":"structure", "required":["BackupId"], "members":{ "BackupId":{"shape":"BackupId"} } }, "DeleteBackupResponse":{ "type":"structure", "members":{ } }, "DeleteServerRequest":{ "type":"structure", "required":["ServerName"], "members":{ "ServerName":{"shape":"ServerName"} } }, "DeleteServerResponse":{ "type":"structure", "members":{ } }, "DescribeAccountAttributesRequest":{ "type":"structure", "members":{ } }, "DescribeAccountAttributesResponse":{ "type":"structure", "members":{ "Attributes":{"shape":"AccountAttributes"} } }, "DescribeBackupsRequest":{ "type":"structure", "members":{ "BackupId":{"shape":"BackupId"}, "ServerName":{"shape":"ServerName"}, "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"MaxResults"} } }, "DescribeBackupsResponse":{ "type":"structure", "members":{ "Backups":{"shape":"Backups"}, "NextToken":{"shape":"String"} } }, "DescribeEventsRequest":{ "type":"structure", "required":["ServerName"], "members":{ "ServerName":{"shape":"ServerName"}, "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"MaxResults"} } }, "DescribeEventsResponse":{ "type":"structure", "members":{ "ServerEvents":{"shape":"ServerEvents"}, "NextToken":{"shape":"String"} } }, "DescribeNodeAssociationStatusRequest":{ "type":"structure", "required":[ "NodeAssociationStatusToken", "ServerName" ], "members":{ "NodeAssociationStatusToken":{"shape":"NodeAssociationStatusToken"}, "ServerName":{"shape":"ServerName"} } }, "DescribeNodeAssociationStatusResponse":{ "type":"structure", "members":{ "NodeAssociationStatus":{"shape":"NodeAssociationStatus"}, "EngineAttributes":{"shape":"EngineAttributes"} } }, "DescribeServersRequest":{ "type":"structure", "members":{ "ServerName":{"shape":"ServerName"}, "NextToken":{"shape":"NextToken"}, "MaxResults":{"shape":"MaxResults"} } }, "DescribeServersResponse":{ "type":"structure", "members":{ "Servers":{"shape":"Servers"}, "NextToken":{"shape":"String"} } }, "DisassociateNodeRequest":{ "type":"structure", "required":[ "ServerName", "NodeName" ], "members":{ "ServerName":{"shape":"ServerName"}, "NodeName":{"shape":"NodeName"}, "EngineAttributes":{"shape":"EngineAttributes"} } }, "DisassociateNodeResponse":{ "type":"structure", "members":{ "NodeAssociationStatusToken":{"shape":"NodeAssociationStatusToken"} } }, "EngineAttribute":{ "type":"structure", "members":{ "Name":{"shape":"EngineAttributeName"}, "Value":{"shape":"EngineAttributeValue"} } }, "EngineAttributeName":{"type":"string"}, "EngineAttributeValue":{ "type":"string", "sensitive":true }, "EngineAttributes":{ "type":"list", "member":{"shape":"EngineAttribute"} }, "InstanceProfileArn":{ "type":"string", "pattern":"arn:aws:iam::[0-9]{12}:instance-profile/.*" }, "Integer":{"type":"integer"}, "InvalidNextTokenException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true }, "InvalidStateException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true }, "KeyPair":{"type":"string"}, "LimitExceededException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true }, "MaintenanceStatus":{ "type":"string", "enum":[ "SUCCESS", "FAILED" ] }, "MaxResults":{ "type":"integer", "min":1 }, "NextToken":{"type":"string"}, "NodeAssociationStatus":{ "type":"string", "enum":[ "SUCCESS", "FAILED", "IN_PROGRESS" ] }, "NodeAssociationStatusToken":{"type":"string"}, "NodeName":{ "type":"string", "pattern":"^[\\-\\p{Alnum}_:.]+$" }, "ResourceAlreadyExistsException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true }, "ResourceNotFoundException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true }, "RestoreServerRequest":{ "type":"structure", "required":[ "BackupId", "ServerName" ], "members":{ "BackupId":{"shape":"BackupId"}, "ServerName":{"shape":"ServerName"}, "InstanceType":{"shape":"String"}, "KeyPair":{"shape":"KeyPair"} } }, "RestoreServerResponse":{ "type":"structure", "members":{ } }, "Server":{ "type":"structure", "members":{ "AssociatePublicIpAddress":{"shape":"Boolean"}, "BackupRetentionCount":{"shape":"Integer"}, "ServerName":{"shape":"String"}, "CreatedAt":{"shape":"Timestamp"}, "CloudFormationStackArn":{"shape":"String"}, "DisableAutomatedBackup":{"shape":"Boolean"}, "Endpoint":{"shape":"String"}, "Engine":{"shape":"String"}, "EngineModel":{"shape":"String"}, "EngineAttributes":{"shape":"EngineAttributes"}, "EngineVersion":{"shape":"String"}, "InstanceProfileArn":{"shape":"String"}, "InstanceType":{"shape":"String"}, "KeyPair":{"shape":"String"}, "MaintenanceStatus":{"shape":"MaintenanceStatus"}, "PreferredMaintenanceWindow":{"shape":"TimeWindowDefinition"}, "PreferredBackupWindow":{"shape":"TimeWindowDefinition"}, "SecurityGroupIds":{"shape":"Strings"}, "ServiceRoleArn":{"shape":"String"}, "Status":{"shape":"ServerStatus"}, "StatusReason":{"shape":"String"}, "SubnetIds":{"shape":"Strings"}, "ServerArn":{"shape":"String"} } }, "ServerEvent":{ "type":"structure", "members":{ "CreatedAt":{"shape":"Timestamp"}, "ServerName":{"shape":"String"}, "Message":{"shape":"String"}, "LogUrl":{"shape":"String"} } }, "ServerEvents":{ "type":"list", "member":{"shape":"ServerEvent"} }, "ServerName":{ "type":"string", "max":40, "min":1, "pattern":"[a-zA-Z][a-zA-Z0-9\\-]*" }, "ServerStatus":{ "type":"string", "enum":[ "BACKING_UP", "CONNECTION_LOST", "CREATING", "DELETING", "MODIFYING", "FAILED", "HEALTHY", "RUNNING", "RESTORING", "SETUP", "UNDER_MAINTENANCE", "UNHEALTHY", "TERMINATED" ] }, "Servers":{ "type":"list", "member":{"shape":"Server"} }, "ServiceRoleArn":{ "type":"string", "pattern":"arn:aws:iam::[0-9]{12}:role/.*" }, "StartMaintenanceRequest":{ "type":"structure", "required":["ServerName"], "members":{ "ServerName":{"shape":"ServerName"}, "EngineAttributes":{"shape":"EngineAttributes"} } }, "StartMaintenanceResponse":{ "type":"structure", "members":{ "Server":{"shape":"Server"} } }, "String":{"type":"string"}, "Strings":{ "type":"list", "member":{"shape":"String"} }, "TimeWindowDefinition":{ "type":"string", "pattern":"^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$" }, "Timestamp":{"type":"timestamp"}, "UpdateServerEngineAttributesRequest":{ "type":"structure", "required":[ "ServerName", "AttributeName" ], "members":{ "ServerName":{"shape":"ServerName"}, "AttributeName":{"shape":"AttributeName"}, "AttributeValue":{"shape":"AttributeValue"} } }, "UpdateServerEngineAttributesResponse":{ "type":"structure", "members":{ "Server":{"shape":"Server"} } }, "UpdateServerRequest":{ "type":"structure", "required":["ServerName"], "members":{ "DisableAutomatedBackup":{"shape":"Boolean"}, "BackupRetentionCount":{"shape":"Integer"}, "ServerName":{"shape":"ServerName"}, "PreferredMaintenanceWindow":{"shape":"TimeWindowDefinition"}, "PreferredBackupWindow":{"shape":"TimeWindowDefinition"} } }, "UpdateServerResponse":{ "type":"structure", "members":{ "Server":{"shape":"Server"} } }, "ValidationException":{ "type":"structure", "members":{ "Message":{"shape":"String"} }, "exception":true } } }