{ "smithy": "1.0", "metadata": { "suppressions": [ { "id": "HttpMethodSemantics", "namespace": "*" }, { "id": "HttpResponseCodeSemantics", "namespace": "*" }, { "id": "PaginatedTrait", "namespace": "*" }, { "id": "HttpHeaderTrait", "namespace": "*" }, { "id": "HttpUriConflict", "namespace": "*" }, { "id": "Service", "namespace": "*" } ] }, "shapes": { "com.amazonaws.opsworkscm#AWSOpsWorksCMResourceArn": { "type": "string", "traits": { "smithy.api#pattern": "arn:aws.*:opsworks-cm:.*:[0-9]{12}:.*" } }, "com.amazonaws.opsworkscm#AccountAttribute": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The attribute name. The following are supported attribute names.\n

\n " } }, "Maximum": { "target": "com.amazonaws.opsworkscm#Integer", "traits": { "smithy.api#documentation": "

\n The maximum allowed value.\n

" } }, "Used": { "target": "com.amazonaws.opsworkscm#Integer", "traits": { "smithy.api#documentation": "

\n The current usage, such as the current number of servers that are associated with the account.\n

" } } }, "traits": { "smithy.api#documentation": "

Stores account attributes.\n

" } }, "com.amazonaws.opsworkscm#AccountAttributes": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#AccountAttribute" }, "traits": { "smithy.api#documentation": "

\n A list of individual account attributes.\n

" } }, "com.amazonaws.opsworkscm#AssociateNode": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#AssociateNodeRequest" }, "output": { "target": "com.amazonaws.opsworkscm#AssociateNodeResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

Associates a new node with the server. For more information about how to disassociate a node, see DisassociateNode.

\n

\n On a Chef server: This command is an alternative to knife bootstrap.

\n

\n Example (Chef): aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes \"Name=CHEF_ORGANIZATION,Value=default\" \"Name=CHEF_NODE_PUBLIC_KEY,Value=public-key-pem\"\n

\n

\n On a Puppet server, this command is an alternative to the puppet cert sign command that signs a Puppet node CSR.\n

\n

\n Example (Puppet): aws opsworks-cm associate-node --server-name MyServer --node-name MyManagedNode --engine-attributes \"Name=PUPPET_NODE_CSR,Value=csr-pem\"\n

\n

\n A node can can only be associated with servers that are in a HEALTHY state. Otherwise, an InvalidStateException is thrown.\n A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.\n The AssociateNode API call can be integrated into Auto Scaling configurations, AWS Cloudformation templates, or the user data of a server's instance.\n

" } }, "com.amazonaws.opsworkscm#AssociateNodeRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server with which to associate the node.\n

", "smithy.api#required": {} } }, "NodeName": { "target": "com.amazonaws.opsworkscm#NodeName", "traits": { "smithy.api#documentation": "

The name of the node.\n

", "smithy.api#required": {} } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

Engine attributes used for associating the node.\n

\n

\n Attributes accepted in a AssociateNode request for Chef\n

\n \n

\n Attributes accepted in a AssociateNode request for Puppet\n

\n ", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#AssociateNodeResponse": { "type": "structure", "members": { "NodeAssociationStatusToken": { "target": "com.amazonaws.opsworkscm#NodeAssociationStatusToken", "traits": { "smithy.api#documentation": "

Contains a token which can be passed to the DescribeNodeAssociationStatus API call to get the status of the association request.\n

" } } } }, "com.amazonaws.opsworkscm#AttributeName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 64 }, "smithy.api#pattern": "[A-Z][A-Z0-9_]*" } }, "com.amazonaws.opsworkscm#AttributeValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*" } }, "com.amazonaws.opsworkscm#Backup": { "type": "structure", "members": { "BackupArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The ARN of the backup.\n

" } }, "BackupId": { "target": "com.amazonaws.opsworkscm#BackupId", "traits": { "smithy.api#documentation": "

\n The generated ID of the backup. Example: myServerName-yyyyMMddHHmmssSSS\n

" } }, "BackupType": { "target": "com.amazonaws.opsworkscm#BackupType", "traits": { "smithy.api#documentation": "

\n The backup type. Valid values are automated or manual.\n

" } }, "CreatedAt": { "target": "com.amazonaws.opsworkscm#Timestamp", "traits": { "smithy.api#documentation": "

\n The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z\n

" } }, "Description": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n A user-provided description for a manual backup. This field is empty for automated backups.\n

" } }, "Engine": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The engine type that is obtained from the server when the backup is created.\n

" } }, "EngineModel": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The engine model that is obtained from the server when the backup is created.\n

" } }, "EngineVersion": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The engine version that is obtained from the server when the backup is created.\n

" } }, "InstanceProfileArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The EC2 instance profile ARN that is obtained from the server when the backup is created. Because this value is stored,\n you are not required to provide the InstanceProfileArn again if you restore a backup.\n

" } }, "InstanceType": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The instance type that is obtained from the server when the backup is created.\n

" } }, "KeyPair": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The key pair that is obtained from the server when the backup is created.\n

" } }, "PreferredBackupWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

\n The preferred backup period that is obtained from the server when the backup is created.\n

" } }, "PreferredMaintenanceWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

\n The preferred maintenance period that is obtained from the server when the backup is created.\n

" } }, "S3DataSize": { "target": "com.amazonaws.opsworkscm#Integer", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "

\n This field is deprecated and is no longer used.\n

" } }, "S3DataUrl": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#deprecated": {}, "smithy.api#documentation": "

\n This field is deprecated and is no longer used.\n

" } }, "S3LogUrl": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The Amazon S3 URL of the backup's log file.\n

" } }, "SecurityGroupIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n The security group IDs that are obtained from the server when the backup is created.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

\n The name of the server from which the backup was made.\n

" } }, "ServiceRoleArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The service role ARN that is obtained from the server when the backup is created.\n

" } }, "Status": { "target": "com.amazonaws.opsworkscm#BackupStatus", "traits": { "smithy.api#documentation": "

The status of a backup while in progress.\n

" } }, "StatusDescription": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n An informational message about backup status.\n

" } }, "SubnetIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n The subnet IDs that are obtained from the server when the backup is created.\n

" } }, "ToolsVersion": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The version of AWS OpsWorks CM-specific tools that is obtained from the server when the backup is created.\n

" } }, "UserArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The IAM user ARN of the requester for manual backups. This field is empty for automated backups.\n

" } } }, "traits": { "smithy.api#documentation": "

Describes a single backup.\n

" } }, "com.amazonaws.opsworkscm#BackupId": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 79 }, "smithy.api#pattern": "[a-zA-Z][a-zA-Z0-9\\-\\.\\:]*" } }, "com.amazonaws.opsworkscm#BackupRetentionCountDefinition": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.opsworkscm#BackupStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "IN_PROGRESS", "name": "IN_PROGRESS" }, { "value": "OK", "name": "OK" }, { "value": "FAILED", "name": "FAILED" }, { "value": "DELETING", "name": "DELETING" } ] } }, "com.amazonaws.opsworkscm#BackupType": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "AUTOMATED", "name": "AUTOMATED" }, { "value": "MANUAL", "name": "MANUAL" } ] } }, "com.amazonaws.opsworkscm#Backups": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#Backup" } }, "com.amazonaws.opsworkscm#Boolean": { "type": "boolean", "traits": { "smithy.api#box": {} } }, "com.amazonaws.opsworkscm#CreateBackup": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#CreateBackupRequest" }, "output": { "target": "com.amazonaws.opsworkscm#CreateBackupResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#LimitExceededException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Creates an application-level backup of a server. While the\n server is in the BACKING_UP state, the server cannot be\n changed, and no additional backup can be created.\n

\n

\n Backups can be created for servers in RUNNING, HEALTHY, and UNHEALTHY states. By default, you can create a maximum of 50\n manual backups.\n

\n

\n This operation is asynchronous.\n

\n

\n A LimitExceededException is thrown when the maximum number of manual backups is reached.\n An InvalidStateException is thrown when the server is not in any of the following states: RUNNING, HEALTHY, or UNHEALTHY.\n A ResourceNotFoundException is thrown when the server is not found.\n A ValidationException is thrown when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#CreateBackupRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server that you want to back up.\n

", "smithy.api#required": {} } }, "Description": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n A user-defined description of the backup.\n

" } }, "Tags": { "target": "com.amazonaws.opsworkscm#TagList", "traits": { "smithy.api#documentation": "

A map that contains tag keys and tag values to attach to an AWS OpsWorks-CM server backup.

\n " } } } }, "com.amazonaws.opsworkscm#CreateBackupResponse": { "type": "structure", "members": { "Backup": { "target": "com.amazonaws.opsworkscm#Backup", "traits": { "smithy.api#documentation": "

Backup created by request.

" } } } }, "com.amazonaws.opsworkscm#CreateServer": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#CreateServerRequest" }, "output": { "target": "com.amazonaws.opsworkscm#CreateServerResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#LimitExceededException" }, { "target": "com.amazonaws.opsworkscm#ResourceAlreadyExistsException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Creates and immedately starts a new server. The server is ready to use when it is in the HEALTHY state. By default, you can create a maximum of 10 servers.\n

\n

\n This operation is asynchronous.\n

\n

\n A LimitExceededException is thrown when you have created the maximum number of servers (10). A ResourceAlreadyExistsException\n is thrown when a server with the same name already exists in the account. A ResourceNotFoundException is thrown when you\n specify a backup ID that is not valid or is for a backup that does not exist. A ValidationException is thrown when parameters\n of the request are not valid.\n

\n

\n If you do not specify a security group by adding the SecurityGroupIds parameter, AWS OpsWorks creates a new security group.\n

\n

\n Chef Automate: The default security group opens the Chef server to the world on TCP port 443. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.\n

\n

\n Puppet Enterprise: The default security group opens TCP ports 22, 443, 4433, 8140, 8142, 8143, and 8170. If a KeyName is present, AWS OpsWorks enables SSH access. SSH is also open to the world on TCP port 22.\n

\n

By default, your server is accessible from any IP address. We\n recommend that you update your security group rules to allow\n access from known IP addresses and address ranges only. To edit security group rules, open Security Groups\n in the navigation pane of the EC2 management console.\n

\n

To specify your own domain for a server, and provide your own self-signed or CA-signed certificate and private key, specify values for CustomDomain, \n CustomCertificate, and CustomPrivateKey.

" } }, "com.amazonaws.opsworkscm#CreateServerRequest": { "type": "structure", "members": { "AssociatePublicIpAddress": { "target": "com.amazonaws.opsworkscm#Boolean", "traits": { "smithy.api#documentation": "

\n Associate a public IP address with a server that you are launching. Valid values are true or false. The default value is true.\n

" } }, "CustomDomain": { "target": "com.amazonaws.opsworkscm#CustomDomain", "traits": { "smithy.api#documentation": "

An optional public endpoint of a server, such as https://aws.my-company.com. To access the server, create a CNAME DNS record in your preferred DNS service that points the custom \n domain to the endpoint that is generated when the server is created (the value of the CreateServer Endpoint attribute). You cannot access the server by using the \n generated Endpoint value if the server is using a custom domain. If you specify a custom domain, you must also specify values for CustomCertificate \n and CustomPrivateKey.

" } }, "CustomCertificate": { "target": "com.amazonaws.opsworkscm#CustomCertificate", "traits": { "smithy.api#documentation": "

A PEM-formatted HTTPS certificate. The value can be be a single, self-signed certificate, or a certificate chain. If you specify a \n custom certificate, you must also specify values for CustomDomain and CustomPrivateKey. The following are requirements for the CustomCertificate value:

\n " } }, "CustomPrivateKey": { "target": "com.amazonaws.opsworkscm#CustomPrivateKey", "traits": { "smithy.api#documentation": "

A private key in PEM format for connecting to the server by using HTTPS. The private key must not be encrypted; it cannot be protected by a password or passphrase. \n If you specify a custom private key, you must also specify values for CustomDomain and CustomCertificate.

" } }, "DisableAutomatedBackup": { "target": "com.amazonaws.opsworkscm#Boolean", "traits": { "smithy.api#documentation": "

\n Enable or disable scheduled backups. Valid values are true or false. The default value is true.\n

" } }, "Engine": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The configuration management engine to use. Valid values include ChefAutomate and Puppet.\n

", "smithy.api#required": {} } }, "EngineModel": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.\n

" } }, "EngineVersion": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The major release version of the engine that you want to use. For a Chef server, the valid value for EngineVersion \n is currently 2. For a Puppet server, valid values are 2019 or 2017.\n

" } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

Optional engine attributes on a specified server.\n

\n

\n Attributes accepted in a Chef createServer request:\n

\n \n

\n Attributes accepted in a Puppet createServer request:\n

\n " } }, "BackupRetentionCount": { "target": "com.amazonaws.opsworkscm#BackupRetentionCountDefinition", "traits": { "smithy.api#documentation": "

\n The number of automated backups that you want to keep. Whenever a new backup is created, AWS OpsWorks CM deletes the oldest backups if this number is exceeded.\n The default value is 1.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

\n The name of the server. The server name must be unique within your AWS account, within each region.\n Server names must start with a letter; then letters, numbers, or hyphens (-) are allowed, up to a maximum of 40 characters.\n

", "smithy.api#required": {} } }, "InstanceProfileArn": { "target": "com.amazonaws.opsworkscm#InstanceProfileArn", "traits": { "smithy.api#documentation": "

\n The ARN of the instance profile that your Amazon EC2\n instances use. Although the AWS OpsWorks console typically creates\n the instance profile for you, if you are using API commands instead, run the service-role-creation.yaml\n AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml.\n This template creates a CloudFormation stack that includes the instance profile you need.\n \n

", "smithy.api#required": {} } }, "InstanceType": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The Amazon EC2 instance type to use. For example, m5.large.\n

", "smithy.api#required": {} } }, "KeyPair": { "target": "com.amazonaws.opsworkscm#KeyPair", "traits": { "smithy.api#documentation": "

\n The Amazon EC2 key pair to set for the instance. This parameter is optional; if desired, you may specify this parameter to connect to your instances by using SSH.\n

" } }, "PreferredMaintenanceWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

\n The start time for a one-hour period each week during which AWS OpsWorks CM performs maintenance on the instance.\n Valid values must be specified in the following format: DDD:HH:MM. MM must be specified as 00. The specified time is in coordinated universal time (UTC).\n The default value is a random one-hour period on Tuesday, Wednesday, or Friday. See TimeWindowDefinition for more information.\n

\n

\n Example:\n Mon:08:00,\n which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)\n

" } }, "PreferredBackupWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

\n The start time for a one-hour period during which AWS OpsWorks CM backs up application-level data on your server\n if automated backups are enabled. Valid values must be specified in one of the following formats:\n

\n \n

\n MM must be specified as 00. The specified time is in coordinated universal time (UTC). The default value is a random, daily start time.

\n

\n Example: \n 08:00, which represents a daily start time of 08:00 UTC.

\n

\n Example: \n Mon:08:00, which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)

" } }, "SecurityGroupIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n A list of security group IDs to attach to the Amazon EC2 instance. If you add this parameter, the specified security groups\n must be within the VPC that is specified by SubnetIds.\n

\n

\n If you do not specify this parameter, AWS OpsWorks CM creates one new security group that uses TCP ports 22 and 443, open to\n 0.0.0.0/0 (everyone).\n

" } }, "ServiceRoleArn": { "target": "com.amazonaws.opsworkscm#ServiceRoleArn", "traits": { "smithy.api#documentation": "

\n The service role that the AWS OpsWorks CM service backend uses to work with your account. Although the AWS OpsWorks management console typically creates\n the service role for you, if you are using the AWS CLI or API commands,\n run the service-role-creation.yaml AWS CloudFormation template, located at https://s3.amazonaws.com/opsworks-cm-us-east-1-prod-default-assets/misc/opsworks-cm-roles.yaml.\n This template creates a CloudFormation stack that includes the service role and instance profile that you need.\n

", "smithy.api#required": {} } }, "SubnetIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n The IDs of subnets in which to launch the server EC2 instance.\n

\n

\n Amazon EC2-Classic customers: This field is required. All servers must run within a VPC. The VPC must have \"Auto Assign Public IP\" enabled.\n

\n

\n EC2-VPC customers: This field is optional. If you do not specify subnet IDs, your EC2 instances are created in a default subnet that is selected by Amazon EC2. If you specify subnet IDs, the VPC must have \"Auto Assign Public IP\" enabled.\n

\n

For more information about supported Amazon EC2 platforms, see\n Supported Platforms.

" } }, "Tags": { "target": "com.amazonaws.opsworkscm#TagList", "traits": { "smithy.api#documentation": "

A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server.

\n " } }, "BackupId": { "target": "com.amazonaws.opsworkscm#BackupId", "traits": { "smithy.api#documentation": "

\n If you specify this field, AWS OpsWorks CM creates the server by using the backup represented by BackupId.\n

" } } } }, "com.amazonaws.opsworkscm#CreateServerResponse": { "type": "structure", "members": { "Server": { "target": "com.amazonaws.opsworkscm#Server", "traits": { "smithy.api#documentation": "

The server that is created by the request.\n

" } } } }, "com.amazonaws.opsworkscm#CustomCertificate": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 2097152 }, "smithy.api#pattern": "(?s)\\s*-----BEGIN CERTIFICATE-----.+-----END CERTIFICATE-----\\s*" } }, "com.amazonaws.opsworkscm#CustomDomain": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 253 }, "smithy.api#pattern": "^(((?!-)[A-Za-z0-9-]{0,62}[A-Za-z0-9])\\.)+((?!-)[A-Za-z0-9-]{1,62}[A-Za-z0-9])$" } }, "com.amazonaws.opsworkscm#CustomPrivateKey": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 4096 }, "smithy.api#pattern": "(?ms)\\s*^-----BEGIN (?-s:.*)PRIVATE KEY-----$.*?^-----END (?-s:.*)PRIVATE KEY-----$\\s*", "smithy.api#sensitive": {} } }, "com.amazonaws.opsworkscm#DeleteBackup": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DeleteBackupRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DeleteBackupResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Deletes a backup. You can delete both manual and automated backups. This operation is asynchronous.\n

\n

\n An InvalidStateException is thrown when a backup deletion is already in progress.\n A ResourceNotFoundException is thrown when the backup does not exist.\n A ValidationException is thrown when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#DeleteBackupRequest": { "type": "structure", "members": { "BackupId": { "target": "com.amazonaws.opsworkscm#BackupId", "traits": { "smithy.api#documentation": "

The ID of the backup to delete. Run the DescribeBackups command to get a list of backup IDs.\n Backup IDs are in the format ServerName-yyyyMMddHHmmssSSS.\n

", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#DeleteBackupResponse": { "type": "structure", "members": {} }, "com.amazonaws.opsworkscm#DeleteServer": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DeleteServerRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DeleteServerResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Deletes the server and the underlying AWS CloudFormation stacks\n (including the server's EC2 instance). When you run this command, the server state is updated\n to DELETING. After the server is deleted, it is no longer returned by\n DescribeServer requests. If the AWS CloudFormation stack cannot be deleted, the server cannot be deleted.\n

\n

\n This operation is asynchronous.\n

\n

\n An InvalidStateException is thrown when a server deletion is already in progress.\n A ResourceNotFoundException is thrown when the server does not exist.\n A ValidationException is raised when parameters of the request are not valid.\n

\n

\n

" } }, "com.amazonaws.opsworkscm#DeleteServerRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The ID of the server to delete.

", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#DeleteServerResponse": { "type": "structure", "members": {} }, "com.amazonaws.opsworkscm#DescribeAccountAttributes": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DescribeAccountAttributesRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DescribeAccountAttributesResponse" }, "traits": { "smithy.api#documentation": "

\n Describes your OpsWorks-CM account attributes.\n

\n

\n This operation is synchronous.\n

" } }, "com.amazonaws.opsworkscm#DescribeAccountAttributesRequest": { "type": "structure", "members": {} }, "com.amazonaws.opsworkscm#DescribeAccountAttributesResponse": { "type": "structure", "members": { "Attributes": { "target": "com.amazonaws.opsworkscm#AccountAttributes", "traits": { "smithy.api#documentation": "

\n The attributes that are currently set for the account.\n

" } } } }, "com.amazonaws.opsworkscm#DescribeBackups": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DescribeBackupsRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DescribeBackupsResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidNextTokenException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Describes backups. The results are ordered by time, with newest backups first.\n If you do not specify a BackupId or ServerName, the command returns all backups.\n

\n

\n This operation is synchronous.\n

\n

\n A ResourceNotFoundException is thrown when the backup does not exist.\n A ValidationException is raised when parameters of the request are not valid.\n

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Backups", "pageSize": "MaxResults" } } }, "com.amazonaws.opsworkscm#DescribeBackupsRequest": { "type": "structure", "members": { "BackupId": { "target": "com.amazonaws.opsworkscm#BackupId", "traits": { "smithy.api#documentation": "

Describes a single backup.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

Returns backups for the server with the specified ServerName.\n

" } }, "NextToken": { "target": "com.amazonaws.opsworkscm#NextToken", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeBackups requests.

" } }, "MaxResults": { "target": "com.amazonaws.opsworkscm#MaxResults", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeBackups requests.

" } } } }, "com.amazonaws.opsworkscm#DescribeBackupsResponse": { "type": "structure", "members": { "Backups": { "target": "com.amazonaws.opsworkscm#Backups", "traits": { "smithy.api#documentation": "

Contains the response to a DescribeBackups request.\n

" } }, "NextToken": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeBackups requests.

" } } } }, "com.amazonaws.opsworkscm#DescribeEvents": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DescribeEventsRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DescribeEventsResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidNextTokenException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Describes events for a specified server. Results are ordered by time, with newest events first.\n

\n

\n This operation is synchronous.\n

\n

\n A ResourceNotFoundException is thrown when the server does not exist.\n A ValidationException is raised when parameters of the request are not valid.\n

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "ServerEvents", "pageSize": "MaxResults" } } }, "com.amazonaws.opsworkscm#DescribeEventsRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server for which you want to view events.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.opsworkscm#NextToken", "traits": { "smithy.api#documentation": "

NextToken is a string that is returned in some command responses. It indicates that\n not all entries have been returned, and that you must run at least one more request to get remaining\n items. To get remaining results, call DescribeEvents again, and assign the token from the previous\n results as the value of the nextToken parameter. If there are no more results,\n the response object's nextToken parameter value is null.\n Setting a nextToken value that was not returned in\n your previous results causes an InvalidNextTokenException to occur.\n

" } }, "MaxResults": { "target": "com.amazonaws.opsworkscm#MaxResults", "traits": { "smithy.api#documentation": "

To receive a paginated response, use this parameter to specify the maximum number\n of results to be returned with a single call. If the number of available results exceeds\n this maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.\n

" } } } }, "com.amazonaws.opsworkscm#DescribeEventsResponse": { "type": "structure", "members": { "ServerEvents": { "target": "com.amazonaws.opsworkscm#ServerEvents", "traits": { "smithy.api#documentation": "

Contains the response to a DescribeEvents request.\n

" } }, "NextToken": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

NextToken is a string that is returned in some command responses. It indicates that\n not all entries have been returned, and that you must run at least one more request to get remaining\n items. To get remaining results, call DescribeEvents again, and assign the token from the previous\n results as the value of the nextToken parameter. If there are no more results,\n the response object's nextToken parameter value is null.\n Setting a nextToken value that was not returned in\n your previous results causes an InvalidNextTokenException to occur.\n

" } } } }, "com.amazonaws.opsworkscm#DescribeNodeAssociationStatus": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DescribeNodeAssociationStatusRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DescribeNodeAssociationStatusResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Returns the current status of an existing association or disassociation request.\n

\n

\n A ResourceNotFoundException is thrown when no recent association or disassociation request with the specified token is found,\n or when the server does not exist. A ValidationException is raised when parameters of the request are not valid.\n

", "smithy.waiters#waitable": { "NodeAssociated": { "documentation": "Wait until node is associated or disassociated.", "acceptors": [ { "state": "success", "matcher": { "output": { "path": "NodeAssociationStatus", "expected": "SUCCESS", "comparator": "stringEquals" } } }, { "state": "failure", "matcher": { "output": { "path": "NodeAssociationStatus", "expected": "FAILED", "comparator": "stringEquals" } } } ], "minDelay": 15 } } } }, "com.amazonaws.opsworkscm#DescribeNodeAssociationStatusRequest": { "type": "structure", "members": { "NodeAssociationStatusToken": { "target": "com.amazonaws.opsworkscm#NodeAssociationStatusToken", "traits": { "smithy.api#documentation": "

The token returned in either the AssociateNodeResponse or the DisassociateNodeResponse.\n

", "smithy.api#required": {} } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server from which to disassociate the node.\n

", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#DescribeNodeAssociationStatusResponse": { "type": "structure", "members": { "NodeAssociationStatus": { "target": "com.amazonaws.opsworkscm#NodeAssociationStatus", "traits": { "smithy.api#documentation": "

The status of the association or disassociation request.\n

\n

\n Possible values:\n

\n " } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

Attributes specific to the node association. \n In Puppet, the attibute PUPPET_NODE_CERT contains the signed certificate (the result of the CSR).\n

" } } } }, "com.amazonaws.opsworkscm#DescribeServers": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DescribeServersRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DescribeServersResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidNextTokenException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Lists all configuration management servers that are identified with your account.\n Only the stored results from Amazon DynamoDB\n are returned. AWS OpsWorks CM does not query other services.\n

\n

\n This operation is synchronous.\n

\n

\n A ResourceNotFoundException is thrown when the server does not exist.\n A ValidationException is raised when parameters of the request are not valid.\n

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Servers", "pageSize": "MaxResults" } } }, "com.amazonaws.opsworkscm#DescribeServersRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

Describes the server with the specified ServerName.

" } }, "NextToken": { "target": "com.amazonaws.opsworkscm#NextToken", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeServers requests.\n

" } }, "MaxResults": { "target": "com.amazonaws.opsworkscm#MaxResults", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeServers requests.\n

" } } } }, "com.amazonaws.opsworkscm#DescribeServersResponse": { "type": "structure", "members": { "Servers": { "target": "com.amazonaws.opsworkscm#Servers", "traits": { "smithy.api#documentation": "

Contains the response to a DescribeServers request.

\n

\n For Chef Automate servers: If DescribeServersResponse$Servers$EngineAttributes includes \n CHEF_MAJOR_UPGRADE_AVAILABLE, you can upgrade the Chef Automate server to Chef Automate 2. To be eligible for upgrade, a server running \n Chef Automate 1 must have had at least one successful maintenance run after November 1, 2019.

\n

\n For Puppet servers: \n DescribeServersResponse$Servers$EngineAttributes contains\n the following two responses:

\n " } }, "NextToken": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

This is not currently implemented for DescribeServers requests.\n

" } } } }, "com.amazonaws.opsworkscm#DisassociateNode": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#DisassociateNodeRequest" }, "output": { "target": "com.amazonaws.opsworkscm#DisassociateNodeResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Disassociates a node from an AWS OpsWorks CM server, and removes the node from the server's managed nodes. After a node is disassociated,\n the node key pair is no longer valid for accessing the configuration manager's API. For more information about how to associate a node, see AssociateNode.\n

\n

A node can can only be disassociated from a server that is in a HEALTHY state. Otherwise, an InvalidStateException is thrown.\n A ResourceNotFoundException is thrown when the server does not exist.\n A ValidationException is raised when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#DisassociateNodeRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server from which to disassociate the node.\n

", "smithy.api#required": {} } }, "NodeName": { "target": "com.amazonaws.opsworkscm#NodeName", "traits": { "smithy.api#documentation": "

The name of the client node.\n

", "smithy.api#required": {} } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

Engine attributes that are used for disassociating the node. No attributes are required for Puppet.\n

\n

\n Attributes required in a DisassociateNode request for Chef\n

\n " } } } }, "com.amazonaws.opsworkscm#DisassociateNodeResponse": { "type": "structure", "members": { "NodeAssociationStatusToken": { "target": "com.amazonaws.opsworkscm#NodeAssociationStatusToken", "traits": { "smithy.api#documentation": "

Contains a token which can be passed to the\n DescribeNodeAssociationStatus API call to get the status of\n the disassociation request.\n

" } } } }, "com.amazonaws.opsworkscm#EngineAttribute": { "type": "structure", "members": { "Name": { "target": "com.amazonaws.opsworkscm#EngineAttributeName", "traits": { "smithy.api#documentation": "

The name of the engine attribute.\n

" } }, "Value": { "target": "com.amazonaws.opsworkscm#EngineAttributeValue", "traits": { "smithy.api#documentation": "

The value of the engine attribute.\n

" } } }, "traits": { "smithy.api#documentation": "

A name and value pair that is specific to the engine of the server.\n

" } }, "com.amazonaws.opsworkscm#EngineAttributeName": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*" } }, "com.amazonaws.opsworkscm#EngineAttributeValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*", "smithy.api#sensitive": {} } }, "com.amazonaws.opsworkscm#EngineAttributes": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#EngineAttribute" } }, "com.amazonaws.opsworkscm#ExportServerEngineAttribute": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#ExportServerEngineAttributeRequest" }, "output": { "target": "com.amazonaws.opsworkscm#ExportServerEngineAttributeResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Exports a specified server engine attribute as a base64-encoded string. For example, you can export user data that you can use in EC2 to associate nodes with a server.\n

\n

\n This operation is synchronous.\n

\n

\n A ValidationException is raised when parameters of the request are not valid.\n A ResourceNotFoundException is thrown when the server does not exist.\n An InvalidStateException is thrown when the server is in any of the following states: CREATING, TERMINATED,\n FAILED or DELETING.\n

" } }, "com.amazonaws.opsworkscm#ExportServerEngineAttributeRequest": { "type": "structure", "members": { "ExportAttributeName": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The name of the export attribute. Currently, the supported export attribute is Userdata. \n This exports a user data script that includes parameters and values provided in the InputAttributes list.

", "smithy.api#required": {} } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server from which you are exporting the attribute.

", "smithy.api#required": {} } }, "InputAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

The list of engine attributes. The list type is EngineAttribute. An EngineAttribute list item \n is a pair that includes an attribute name and its value. For the Userdata ExportAttributeName, the following are \n supported engine attribute names.

\n " } } } }, "com.amazonaws.opsworkscm#ExportServerEngineAttributeResponse": { "type": "structure", "members": { "EngineAttribute": { "target": "com.amazonaws.opsworkscm#EngineAttribute", "traits": { "smithy.api#documentation": "

The requested engine attribute pair with attribute name and value.

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The server name used in the request.

" } } } }, "com.amazonaws.opsworkscm#InstanceProfileArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:instance-profile/.*" } }, "com.amazonaws.opsworkscm#Integer": { "type": "integer", "traits": { "smithy.api#box": {} } }, "com.amazonaws.opsworkscm#InvalidNextTokenException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message that can contain more detail about a nextToken failure.\n

" } } }, "traits": { "smithy.api#documentation": "

This occurs when the provided nextToken is not valid.\n

", "smithy.api#error": "client" } }, "com.amazonaws.opsworkscm#InvalidStateException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message that provides more detail if a resource is\n in a state that is not valid for performing a specified action.\n

" } } }, "traits": { "smithy.api#documentation": "

The resource is in a state that does not allow you to perform a specified action.\n

", "smithy.api#error": "client" } }, "com.amazonaws.opsworkscm#KeyPair": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": ".*" } }, "com.amazonaws.opsworkscm#LimitExceededException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message that the maximum allowed number of servers or backups has been exceeded.\n

" } } }, "traits": { "smithy.api#documentation": "

The limit of servers or backups has been reached.\n

", "smithy.api#error": "client" } }, "com.amazonaws.opsworkscm#ListTagsForResource": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#ListTagsForResourceRequest" }, "output": { "target": "com.amazonaws.opsworkscm#ListTagsForResourceResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

Returns a list of tags that are applied to the specified AWS OpsWorks for Chef Automate or\n AWS OpsWorks for Puppet Enterprise servers or backups.

", "smithy.api#paginated": { "inputToken": "NextToken", "outputToken": "NextToken", "items": "Tags", "pageSize": "MaxResults" } } }, "com.amazonaws.opsworkscm#ListTagsForResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.opsworkscm#AWSOpsWorksCMResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server for which you want to show applied tags. For example, \n arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

", "smithy.api#required": {} } }, "NextToken": { "target": "com.amazonaws.opsworkscm#NextToken", "traits": { "smithy.api#documentation": "

NextToken is a string that is returned in some command responses. It indicates that\n not all entries have been returned, and that you must run at least one more request to get remaining\n items. To get remaining results, call ListTagsForResource again, and assign the token from the previous\n results as the value of the nextToken parameter. If there are no more results,\n the response object's nextToken parameter value is null.\n Setting a nextToken value that was not returned in\n your previous results causes an InvalidNextTokenException to occur.

" } }, "MaxResults": { "target": "com.amazonaws.opsworkscm#MaxResults", "traits": { "smithy.api#documentation": "

To receive a paginated response, use this parameter to specify the maximum number\n of results to be returned with a single call. If the number of available results exceeds\n this maximum, the response includes a NextToken value that you can assign to the NextToken\n request parameter to get the next set of results.

" } } } }, "com.amazonaws.opsworkscm#ListTagsForResourceResponse": { "type": "structure", "members": { "Tags": { "target": "com.amazonaws.opsworkscm#TagList", "traits": { "smithy.api#documentation": "

Tags that have been applied to the resource.

" } }, "NextToken": { "target": "com.amazonaws.opsworkscm#NextToken", "traits": { "smithy.api#documentation": "

A token that you can use as the value of NextToken in subsequent calls to the API to show more results.

" } } } }, "com.amazonaws.opsworkscm#MaintenanceStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "SUCCESS", "name": "SUCCESS" }, { "value": "FAILED", "name": "FAILED" } ] } }, "com.amazonaws.opsworkscm#MaxResults": { "type": "integer", "traits": { "smithy.api#box": {}, "smithy.api#range": { "min": 1 } } }, "com.amazonaws.opsworkscm#NextToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*" } }, "com.amazonaws.opsworkscm#NodeAssociationStatus": { "type": "string", "traits": { "smithy.api#documentation": "

The status of the association or disassociation request.\n

\n

\n Possible values:\n

\n ", "smithy.api#enum": [ { "value": "SUCCESS", "name": "SUCCESS" }, { "value": "FAILED", "name": "FAILED" }, { "value": "IN_PROGRESS", "name": "IN_PROGRESS" } ] } }, "com.amazonaws.opsworkscm#NodeAssociationStatusToken": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*" } }, "com.amazonaws.opsworkscm#NodeName": { "type": "string", "traits": { "smithy.api#documentation": "

The node name that is used by chef-client or puppet-agentfor a new node. We recommend to use a unique FQDN as hostname. For more information, see the\n Chef or \n Puppet documentation.\n

", "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "^[\\-\\p{Alnum}_:.]+$" } }, "com.amazonaws.opsworkscm#OpsWorksCM_V2016_11_01": { "type": "service", "version": "2016-11-01", "operations": [ { "target": "com.amazonaws.opsworkscm#AssociateNode" }, { "target": "com.amazonaws.opsworkscm#CreateBackup" }, { "target": "com.amazonaws.opsworkscm#CreateServer" }, { "target": "com.amazonaws.opsworkscm#DeleteBackup" }, { "target": "com.amazonaws.opsworkscm#DeleteServer" }, { "target": "com.amazonaws.opsworkscm#DescribeAccountAttributes" }, { "target": "com.amazonaws.opsworkscm#DescribeBackups" }, { "target": "com.amazonaws.opsworkscm#DescribeEvents" }, { "target": "com.amazonaws.opsworkscm#DescribeNodeAssociationStatus" }, { "target": "com.amazonaws.opsworkscm#DescribeServers" }, { "target": "com.amazonaws.opsworkscm#DisassociateNode" }, { "target": "com.amazonaws.opsworkscm#ExportServerEngineAttribute" }, { "target": "com.amazonaws.opsworkscm#ListTagsForResource" }, { "target": "com.amazonaws.opsworkscm#RestoreServer" }, { "target": "com.amazonaws.opsworkscm#StartMaintenance" }, { "target": "com.amazonaws.opsworkscm#TagResource" }, { "target": "com.amazonaws.opsworkscm#UntagResource" }, { "target": "com.amazonaws.opsworkscm#UpdateServer" }, { "target": "com.amazonaws.opsworkscm#UpdateServerEngineAttributes" } ], "traits": { "aws.api#service": { "sdkId": "OpsWorksCM", "arnNamespace": "opsworks-cm", "cloudFormationName": "OpsWorksCM", "cloudTrailEventSource": "opsworkscm.amazonaws.com", "endpointPrefix": "opsworks-cm" }, "aws.auth#sigv4": { "name": "opsworks-cm" }, "aws.protocols#awsJson1_1": {}, "smithy.api#documentation": "AWS OpsWorks CM\n

AWS OpsWorks for configuration management (CM) is a service that runs and manages\n configuration management servers. You can use AWS OpsWorks CM to create and manage AWS\n OpsWorks for Chef Automate and AWS OpsWorks for Puppet Enterprise servers, and add or remove\n nodes for the servers to manage.

\n

\n Glossary of terms\n

\n \n

\n Endpoints\n

\n

AWS OpsWorks CM supports the following endpoints, all HTTPS. You must connect to one of the following endpoints. Your servers\n can only be accessed or managed within the endpoint in which they are created.

\n \n

For more information, see AWS OpsWorks endpoints and quotas in the AWS General Reference.

\n

\n Throttling limits\n

\n

All API operations allow for five requests per second with a burst of 10 requests per second.

", "smithy.api#title": "AWS OpsWorks CM", "smithy.api#xmlNamespace": { "uri": "http://opsworks-cm.amazonaws.com/doc/2016-11-01/" } } }, "com.amazonaws.opsworkscm#ResourceAlreadyExistsException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message in response to a CreateServer request that a resource cannot be created because it already exists.\n

" } } }, "traits": { "smithy.api#documentation": "

The requested resource cannot be created because it already exists.\n

", "smithy.api#error": "client" } }, "com.amazonaws.opsworkscm#ResourceNotFoundException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message that can contain more detail about problems locating or accessing a resource.\n

" } } }, "traits": { "smithy.api#documentation": "

The requested resource does not exist, or access was denied.\n

", "smithy.api#error": "client" } }, "com.amazonaws.opsworkscm#RestoreServer": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#RestoreServerRequest" }, "output": { "target": "com.amazonaws.opsworkscm#RestoreServerResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Restores a backup to a server that is in a CONNECTION_LOST, HEALTHY, RUNNING, UNHEALTHY, or TERMINATED state.\n When you run RestoreServer, the server's EC2 instance is deleted, and a new EC2 instance is configured. RestoreServer maintains\n the existing server endpoint, so configuration management of the server's client devices (nodes) should continue to work.\n

\n

Restoring from a backup is performed by creating a new EC2 instance. If restoration is successful, and the server is in a HEALTHY state, \n AWS OpsWorks CM switches traffic over to the new instance. After restoration is finished, the old EC2 instance is maintained in a \n Running or Stopped state, but is eventually terminated.

\n

\n This operation is asynchronous.\n

\n

\n An InvalidStateException is thrown when the server is not in a valid state. A ResourceNotFoundException is thrown\n when the server does not exist. A ValidationException is raised when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#RestoreServerRequest": { "type": "structure", "members": { "BackupId": { "target": "com.amazonaws.opsworkscm#BackupId", "traits": { "smithy.api#documentation": "

The ID of the backup that you want to use to restore a server.\n

", "smithy.api#required": {} } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server that you want to restore.\n

", "smithy.api#required": {} } }, "InstanceType": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The type of instance to restore. Valid values must be specified in the following format: ^([cm][34]|t2).*\n For example, m5.large. Valid values are m5.large, r5.xlarge, and r5.2xlarge. If you do not specify this parameter,\n RestoreServer uses the instance type from the specified backup.\n

" } }, "KeyPair": { "target": "com.amazonaws.opsworkscm#KeyPair", "traits": { "smithy.api#documentation": "

The name of the key pair to set on the new EC2 instance. This can be helpful\n if the administrator no longer has the SSH key.\n

" } } } }, "com.amazonaws.opsworkscm#RestoreServerResponse": { "type": "structure", "members": { "Server": { "target": "com.amazonaws.opsworkscm#Server" } } }, "com.amazonaws.opsworkscm#Server": { "type": "structure", "members": { "AssociatePublicIpAddress": { "target": "com.amazonaws.opsworkscm#Boolean", "traits": { "smithy.api#documentation": "

Associate a public IP address with a server that you are launching.\n

" } }, "BackupRetentionCount": { "target": "com.amazonaws.opsworkscm#Integer", "traits": { "smithy.api#documentation": "

The number of automated backups to keep.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The name of the server.\n

" } }, "CreatedAt": { "target": "com.amazonaws.opsworkscm#Timestamp", "traits": { "smithy.api#documentation": "

Time stamp of server creation. Example 2016-07-29T13:38:47.520Z\n

" } }, "CloudFormationStackArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The ARN of the CloudFormation stack that was used to create the server.\n

" } }, "CustomDomain": { "target": "com.amazonaws.opsworkscm#CustomDomain", "traits": { "smithy.api#documentation": "

An optional public endpoint of a server, such as https://aws.my-company.com. \n You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.

" } }, "DisableAutomatedBackup": { "target": "com.amazonaws.opsworkscm#Boolean", "traits": { "smithy.api#documentation": "

Disables automated backups. The number of stored backups is dependent on the value of PreferredBackupCount.\n

" } }, "Endpoint": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n A DNS name that can be used to access the engine. Example: myserver-asdfghjkl.us-east-1.opsworks.io. \n You cannot access the server by using the Endpoint value if the server has a CustomDomain specified.\n

" } }, "Engine": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The engine type of the server. Valid values in this release include ChefAutomate and Puppet.\n

" } }, "EngineModel": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The engine model of the server. Valid values in this release include Monolithic for Puppet and Single for Chef.\n

" } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

The response of a createServer() request returns the master\n credential to access the server in EngineAttributes. These\n credentials are not stored by AWS OpsWorks CM; they are returned only as part of the result of createServer().\n

\n

\n Attributes returned in a createServer response for Chef\n

\n \n

\n Attributes returned in a createServer response for Puppet\n

\n " } }, "EngineVersion": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The engine version of the server. For a Chef server, the valid value for EngineVersion is \n currently 2. For a Puppet server, specify either 2019 or 2017.\n

" } }, "InstanceProfileArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The instance profile ARN of the server.\n

" } }, "InstanceType": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n The instance type for the server, as specified in the CloudFormation stack. This might not be the same instance type that is shown in the EC2 console.\n

" } }, "KeyPair": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The key pair associated with the server.\n

" } }, "MaintenanceStatus": { "target": "com.amazonaws.opsworkscm#MaintenanceStatus", "traits": { "smithy.api#documentation": "

The status of the most recent server maintenance run. Shows SUCCESS or FAILED.\n

" } }, "PreferredMaintenanceWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

The preferred maintenance period specified for the server.\n

" } }, "PreferredBackupWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition", "traits": { "smithy.api#documentation": "

The preferred backup period specified for the server.\n

" } }, "SecurityGroupIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n The security group IDs for the server, as specified in the CloudFormation stack.\n These might not be the same security groups that are shown in the EC2 console.\n

" } }, "ServiceRoleArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The service role ARN used to create the server.\n

" } }, "Status": { "target": "com.amazonaws.opsworkscm#ServerStatus", "traits": { "smithy.api#documentation": "

\n The server's status. This field displays the states of actions in progress, such as creating, running, or backing up the server,\n as well as the server's health state.\n

" } }, "StatusReason": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

\n Depending on the server status, this field has either a human-readable\n message (such as a create or backup error), or an escaped block of JSON (used for health check results).\n

" } }, "SubnetIds": { "target": "com.amazonaws.opsworkscm#Strings", "traits": { "smithy.api#documentation": "

\n The subnet IDs specified in a CreateServer request.\n

" } }, "ServerArn": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The ARN of the server.\n

" } } }, "traits": { "smithy.api#documentation": "

Describes a configuration management server.\n

" } }, "com.amazonaws.opsworkscm#ServerEvent": { "type": "structure", "members": { "CreatedAt": { "target": "com.amazonaws.opsworkscm#Timestamp", "traits": { "smithy.api#documentation": "

The time when the event occurred.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The name of the server on or for which the event occurred.\n

" } }, "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

A human-readable informational or status message.

" } }, "LogUrl": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

The Amazon S3 URL of the event's log file.

" } } }, "traits": { "smithy.api#documentation": "

An event that is related to the server, such as the start of maintenance or backup.\n

" } }, "com.amazonaws.opsworkscm#ServerEvents": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#ServerEvent" } }, "com.amazonaws.opsworkscm#ServerName": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 40 }, "smithy.api#pattern": "[a-zA-Z][a-zA-Z0-9\\-]*" } }, "com.amazonaws.opsworkscm#ServerStatus": { "type": "string", "traits": { "smithy.api#enum": [ { "value": "BACKING_UP", "name": "BACKING_UP" }, { "value": "CONNECTION_LOST", "name": "CONNECTION_LOST" }, { "value": "CREATING", "name": "CREATING" }, { "value": "DELETING", "name": "DELETING" }, { "value": "MODIFYING", "name": "MODIFYING" }, { "value": "FAILED", "name": "FAILED" }, { "value": "HEALTHY", "name": "HEALTHY" }, { "value": "RUNNING", "name": "RUNNING" }, { "value": "RESTORING", "name": "RESTORING" }, { "value": "SETUP", "name": "SETUP" }, { "value": "UNDER_MAINTENANCE", "name": "UNDER_MAINTENANCE" }, { "value": "UNHEALTHY", "name": "UNHEALTHY" }, { "value": "TERMINATED", "name": "TERMINATED" } ] } }, "com.amazonaws.opsworkscm#Servers": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#Server" } }, "com.amazonaws.opsworkscm#ServiceRoleArn": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "arn:aws:iam::[0-9]{12}:role/.*" } }, "com.amazonaws.opsworkscm#StartMaintenance": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#StartMaintenanceRequest" }, "output": { "target": "com.amazonaws.opsworkscm#StartMaintenanceResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Manually starts server maintenance. This command can be useful if an earlier maintenance attempt failed, and the underlying\n cause of maintenance failure has been resolved. The server is in an UNDER_MAINTENANCE state while maintenance is in progress.\n

\n

\n Maintenance can only be started on servers in HEALTHY and UNHEALTHY states. Otherwise, an InvalidStateException is thrown.\n A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#StartMaintenanceRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server on which to run maintenance.\n

", "smithy.api#required": {} } }, "EngineAttributes": { "target": "com.amazonaws.opsworkscm#EngineAttributes", "traits": { "smithy.api#documentation": "

Engine attributes that are specific to the server on which you want to run maintenance.

\n

\n Attributes accepted in a StartMaintenance request for Chef\n

\n " } } } }, "com.amazonaws.opsworkscm#StartMaintenanceResponse": { "type": "structure", "members": { "Server": { "target": "com.amazonaws.opsworkscm#Server", "traits": { "smithy.api#documentation": "

Contains the response to a StartMaintenance request.\n

" } } } }, "com.amazonaws.opsworkscm#String": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "(?s).*" } }, "com.amazonaws.opsworkscm#Strings": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#String" } }, "com.amazonaws.opsworkscm#Tag": { "type": "structure", "members": { "Key": { "target": "com.amazonaws.opsworkscm#TagKey", "traits": { "smithy.api#documentation": "

A tag key, such as Stage or Name. A tag key cannot be empty. The key can be a maximum of 127 characters, \n and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /\n

", "smithy.api#required": {} } }, "Value": { "target": "com.amazonaws.opsworkscm#TagValue", "traits": { "smithy.api#documentation": "

An optional tag value, such as Production or test-owcm-server. The value can be a maximum of 255 characters, \n and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /\n

", "smithy.api#required": {} } } }, "traits": { "smithy.api#documentation": "

A map that contains tag keys and tag values to attach to an AWS OpsWorks for Chef Automate \n or AWS OpsWorks for Puppet Enterprise server. Leading and trailing white spaces are trimmed from both the key and value. \n A maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.

" } }, "com.amazonaws.opsworkscm#TagKey": { "type": "string", "traits": { "smithy.api#length": { "min": 1, "max": 128 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.opsworkscm#TagKeyList": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#TagKey" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.opsworkscm#TagList": { "type": "list", "member": { "target": "com.amazonaws.opsworkscm#Tag" }, "traits": { "smithy.api#length": { "min": 0, "max": 200 } } }, "com.amazonaws.opsworkscm#TagResource": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#TagResourceRequest" }, "output": { "target": "com.amazonaws.opsworkscm#TagResourceResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

Applies tags to an AWS OpsWorks for Chef Automate or AWS OpsWorks for Puppet Enterprise server, or to server backups.

" } }, "com.amazonaws.opsworkscm#TagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.opsworkscm#AWSOpsWorksCMResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of a resource to which you want to apply tags. For example, \n arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

", "smithy.api#required": {} } }, "Tags": { "target": "com.amazonaws.opsworkscm#TagList", "traits": { "smithy.api#documentation": "

A map that contains tag keys and tag values to attach to AWS OpsWorks-CM servers or backups.

\n ", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#TagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.opsworkscm#TagValue": { "type": "string", "traits": { "smithy.api#length": { "min": 0, "max": 256 }, "smithy.api#pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$" } }, "com.amazonaws.opsworkscm#TimeWindowDefinition": { "type": "string", "traits": { "smithy.api#documentation": "

\n DDD:HH:MM (weekly start time) or\n HH:MM (daily start time).\n

\n

\n Time windows always use coordinated universal time (UTC). Valid strings for day of week (DDD) are: Mon, Tue, Wed,\n Thr, Fri, Sat, or Sun.

", "smithy.api#length": { "min": 0, "max": 10000 }, "smithy.api#pattern": "^((Mon|Tue|Wed|Thu|Fri|Sat|Sun):)?([0-1][0-9]|2[0-3]):[0-5][0-9]$" } }, "com.amazonaws.opsworkscm#Timestamp": { "type": "timestamp" }, "com.amazonaws.opsworkscm#UntagResource": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#UntagResourceRequest" }, "output": { "target": "com.amazonaws.opsworkscm#UntagResourceResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

Removes specified tags from an AWS OpsWorks-CM server or backup.

" } }, "com.amazonaws.opsworkscm#UntagResourceRequest": { "type": "structure", "members": { "ResourceArn": { "target": "com.amazonaws.opsworkscm#AWSOpsWorksCMResourceArn", "traits": { "smithy.api#documentation": "

The Amazon Resource Number (ARN) of a resource from which you want to remove tags. For example, \n arn:aws:opsworks-cm:us-west-2:123456789012:server/test-owcm-server/EXAMPLE-66b0-4196-8274-d1a2bEXAMPLE.

", "smithy.api#required": {} } }, "TagKeys": { "target": "com.amazonaws.opsworkscm#TagKeyList", "traits": { "smithy.api#documentation": "

The keys of tags that you want to remove.

", "smithy.api#required": {} } } } }, "com.amazonaws.opsworkscm#UntagResourceResponse": { "type": "structure", "members": {} }, "com.amazonaws.opsworkscm#UpdateServer": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#UpdateServerRequest" }, "output": { "target": "com.amazonaws.opsworkscm#UpdateServerResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Updates settings for a server.\n

\n

\n This operation is synchronous.\n

" } }, "com.amazonaws.opsworkscm#UpdateServerEngineAttributes": { "type": "operation", "input": { "target": "com.amazonaws.opsworkscm#UpdateServerEngineAttributesRequest" }, "output": { "target": "com.amazonaws.opsworkscm#UpdateServerEngineAttributesResponse" }, "errors": [ { "target": "com.amazonaws.opsworkscm#InvalidStateException" }, { "target": "com.amazonaws.opsworkscm#ResourceNotFoundException" }, { "target": "com.amazonaws.opsworkscm#ValidationException" } ], "traits": { "smithy.api#documentation": "

\n Updates engine-specific attributes on a specified server. The server\n enters the MODIFYING state when this operation\n is in progress. Only one update can occur at a time.\n You can use this command to reset a Chef server's public key (CHEF_PIVOTAL_KEY) or a Puppet server's \n admin password (PUPPET_ADMIN_PASSWORD).\n

\n

\n This operation is asynchronous.\n

\n

\n This operation can only be called for servers in HEALTHY or UNHEALTHY states. Otherwise, an InvalidStateException is raised.\n A ResourceNotFoundException is thrown when the server does not exist. A ValidationException is raised when parameters of the request are not valid.\n

" } }, "com.amazonaws.opsworkscm#UpdateServerEngineAttributesRequest": { "type": "structure", "members": { "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server to update.\n

", "smithy.api#required": {} } }, "AttributeName": { "target": "com.amazonaws.opsworkscm#AttributeName", "traits": { "smithy.api#documentation": "

The name of the engine attribute to update.\n

", "smithy.api#required": {} } }, "AttributeValue": { "target": "com.amazonaws.opsworkscm#AttributeValue", "traits": { "smithy.api#documentation": "

The value to set for the attribute.\n

" } } } }, "com.amazonaws.opsworkscm#UpdateServerEngineAttributesResponse": { "type": "structure", "members": { "Server": { "target": "com.amazonaws.opsworkscm#Server", "traits": { "smithy.api#documentation": "

Contains the response to an UpdateServerEngineAttributes request.\n

" } } } }, "com.amazonaws.opsworkscm#UpdateServerRequest": { "type": "structure", "members": { "DisableAutomatedBackup": { "target": "com.amazonaws.opsworkscm#Boolean", "traits": { "smithy.api#documentation": "

Setting DisableAutomatedBackup to true disables automated or scheduled backups. Automated backups are enabled by default.\n

" } }, "BackupRetentionCount": { "target": "com.amazonaws.opsworkscm#Integer", "traits": { "smithy.api#documentation": "

Sets the number of automated backups that you want to keep.\n

" } }, "ServerName": { "target": "com.amazonaws.opsworkscm#ServerName", "traits": { "smithy.api#documentation": "

The name of the server to update.\n

", "smithy.api#required": {} } }, "PreferredMaintenanceWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition" }, "PreferredBackupWindow": { "target": "com.amazonaws.opsworkscm#TimeWindowDefinition" } } }, "com.amazonaws.opsworkscm#UpdateServerResponse": { "type": "structure", "members": { "Server": { "target": "com.amazonaws.opsworkscm#Server", "traits": { "smithy.api#documentation": "

Contains the response to a UpdateServer request.\n

" } } } }, "com.amazonaws.opsworkscm#ValidationException": { "type": "structure", "members": { "Message": { "target": "com.amazonaws.opsworkscm#String", "traits": { "smithy.api#documentation": "

Error or informational message that can contain more detail about a validation failure.\n

" } } }, "traits": { "smithy.api#documentation": "

One or more of the provided request parameters are not valid.\n

", "smithy.api#error": "client" } } } }