{ "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\n ServerLimit: The number of current servers/maximum number of servers allowed. By default, you can have a maximum of 10 servers.\n
\n\n ManualBackupLimit: The number of current manual backups/maximum number of backups allowed. By default, you can have a maximum \n of 50 manual backups saved.\n
\n\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 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 On a Puppet server, this command is an alternative to the puppet cert sign
command that signs a Puppet node CSR.\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 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
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 CHEF_ORGANIZATION
: The Chef organization\n with which the node is associated. By default only one organization\n named default
can exist.\n
\n CHEF_NODE_PUBLIC_KEY
: A PEM-formatted public key. This key is required for the chef-client
agent to access the Chef API.\n
\n Attributes accepted in a AssociateNode request for Puppet\n
\n\n PUPPET_NODE_CSR
: A PEM-formatted certificate-signing request (CSR) that is created by the node.\n
Contains a token which can be passed to the DescribeNodeAssociationStatus
API call to get the status of the association request.\n
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
\n The backup type. Valid values are automated
or manual
.\n
\n The time stamp when the backup was created in the database. Example: 2016-07-29T13:38:47.520Z
\n
\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 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 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
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.
\nThe key cannot be empty.
\nThe key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
Leading and trailing white spaces are trimmed from both the key and value.
\nA maximum of 50 user-applied tags is allowed for tag-supported AWS OpsWorks-CM resources.
\nBackup 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 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 If you do not specify a security group by adding the SecurityGroupIds
parameter, AWS OpsWorks creates a new security group.\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
\nBy 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
\nTo 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
.
\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
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
.
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:
You can provide either a self-signed, custom certificate, or the full certificate chain.
\nThe certificate must be a valid X509 certificate, or a certificate chain in PEM format.
\nThe certificate must be valid at the time of upload. A certificate can't be used before its validity period begins (the certificate's NotBefore
date), or after it expires \n (the certificate's NotAfter
date).
The certificate’s common name or subject alternative names (SANs), if present, must match the value of CustomDomain
.
The certificate must match the value of CustomPrivateKey
.
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
.
\n Enable or disable scheduled backups. Valid values are true
or false
. The default value is true
.\n
\n The configuration management engine to use. Valid values include ChefAutomate
and Puppet
.\n
\n The engine model of the server. Valid values in this release include Monolithic
for Puppet and Single
for Chef.\n
\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
Optional engine attributes on a specified server.\n
\n\n Attributes accepted in a Chef createServer request:\n
\n\n CHEF_AUTOMATE_PIVOTAL_KEY
: A\n base64-encoded RSA public key. The corresponding private key is required to\n access the Chef API. When no CHEF_AUTOMATE_PIVOTAL_KEY is set, a private key is\n generated and returned in the response.\n
\n CHEF_AUTOMATE_ADMIN_PASSWORD
:\n The password for the administrative user in the Chef Automate web-based dashboard. The\n password length is a minimum of eight characters, and a maximum of 32. The\n password can contain letters, numbers, and special characters\n (!/@#$%^&+=_). The password must contain at least one lower case letter, one upper\n case letter, one number, and one special character. When no CHEF_AUTOMATE_ADMIN_PASSWORD is set, one is\n generated and returned in the response.
\n Attributes accepted in a Puppet createServer request:\n
\n\n PUPPET_ADMIN_PASSWORD
: To work with the Puppet Enterprise console, a password must use ASCII characters.
\n PUPPET_R10K_REMOTE
: The r10k remote is the URL of your control repository \n (for example, ssh://git@your.git-repo.com:user/control-repo.git). Specifying an r10k remote opens TCP port 8170.
\n PUPPET_R10K_PRIVATE_KEY
: If you are using a private Git repository, add \n PUPPET_R10K_PRIVATE_KEY to specify a PEM-encoded private SSH key.
\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
\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
\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 Example:\n Mon:08:00
,\n which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)\n
\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 HH:MM
for daily backups
\n DDD:HH:MM
for weekly backups
\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 Example: \n 08:00
, which represents a daily start time of 08:00 UTC.
\n Example: \n Mon:08:00
, which represents a start time of every Monday at 08:00 UTC. (8:00 a.m.)
\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 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
\nFor 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.
\nThe key cannot be empty.
\nThe key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / @
\n
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : / @
\n
Leading and trailing white spaces are trimmed from both the key and value.
\nA maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM server.
\n\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
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
\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 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
" } }, "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
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.
This is not currently implemented for DescribeBackups
requests.
Contains the response to a DescribeBackups
request.\n
This is not currently implemented for DescribeBackups
requests.
\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
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
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
Contains the response to a DescribeEvents
request.\n
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
\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
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\n SUCCESS
: The association or disassociation succeeded.\n
\n FAILED
: The association or disassociation failed.\n
\n IN_PROGRESS
: The association or disassociation is still in progress.\n
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
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
This is not currently implemented for DescribeServers
requests.\n
Contains the response to a DescribeServers
request.
\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 For Puppet servers: \n DescribeServersResponse$Servers$EngineAttributes
contains\n the following two responses:
\n PUPPET_API_CA_CERT
, the PEM-encoded CA certificate that is used by the Puppet API over TCP port number 8140. \n The CA certificate is also used to sign node certificates.
\n PUPPET_API_CRL
, a certificate revocation list. The certificate revocation list is for internal \n maintenance purposes only. For more information about the Puppet certificate revocation list, see \n Man Page: puppet certificate_revocation_list in the Puppet documentation.
This is not currently implemented for DescribeServers
requests.\n
\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
\nA 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
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\n CHEF_ORGANIZATION
: The Chef organization\n with which the node was associated. By default only one organization\n named default
can exist.\n
Contains a token which can be passed to the\n DescribeNodeAssociationStatus
API call to get the status of\n the disassociation request.\n
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
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.
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 RunList In Chef, a list of roles or recipes that are run in the specified order. \n In Puppet, this parameter is ignored.
\n\n OrganizationName In Chef, an organization name. AWS OpsWorks for Chef Automate \n always creates the organization default
. In Puppet, this parameter is ignored.
\n NodeEnvironment In Chef, a node environment (for example, development, staging, or one-box). \n In Puppet, this parameter is ignored.
\n\n NodeClientVersion In Chef, the version of the Chef engine (three numbers separated \n by dots, such as 13.8.5). If this attribute is empty, OpsWorks for Chef Automate uses the most current version. In Puppet, \n this parameter is ignored.
\nThe 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
.
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.
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.
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.
The status of the association or disassociation request.\n
\n\n Possible values:\n
\n\n SUCCESS
: The association or disassociation succeeded.\n
\n FAILED
: The association or disassociation failed.\n
\n IN_PROGRESS
: The association or disassociation is still in progress.\n
The node name that is used by chef-client
or puppet-agent
for a new node. We recommend to use a unique FQDN as hostname. For more information, see the\n Chef or \n Puppet documentation.\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 Server: A configuration management server that can be \n highly-available. The configuration management server runs on\n an Amazon Elastic Compute Cloud (EC2) instance, and may use various other AWS services, such as Amazon Relational\n Database Service (RDS) and Elastic Load Balancing. A server is a generic abstraction over the configuration\n manager that you want to use, much like Amazon RDS. In AWS OpsWorks CM, you do not start\n or stop servers. After you create servers, they continue to run until they are deleted.
\n \n Engine: The engine is the specific configuration manager \n that you want to use. Valid values in this release include ChefAutomate
and Puppet
.
\n Backup: This\n is an application-level backup of the data that the configuration manager\n stores. AWS OpsWorks CM\n creates an S3 bucket for backups when you launch the first\n server. A backup maintains a snapshot of a server's configuration-related\n attributes at the time the backup starts.
\n\n Events:\n Events are always related to a server. Events are written\n during server creation, when health checks run, when backups\n are created, when system maintenance is performed, etc. When you delete a server, the server's events are\n also deleted.
\n\n Account attributes:\n Every account has attributes that are assigned in the AWS OpsWorks CM\n database. These attributes store information about configuration limits (servers,\n backups, etc.) and your customer account.\n
\n\n Endpoints\n
\nAWS 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.
\nopsworks-cm.us-east-1.amazonaws.com
\nopsworks-cm.us-east-2.amazonaws.com
\nopsworks-cm.us-west-1.amazonaws.com
\nopsworks-cm.us-west-2.amazonaws.com
\nopsworks-cm.ap-northeast-1.amazonaws.com
\nopsworks-cm.ap-southeast-1.amazonaws.com
\nopsworks-cm.ap-southeast-2.amazonaws.com
\nopsworks-cm.eu-central-1.amazonaws.com
\nopsworks-cm.eu-west-1.amazonaws.com
\nFor more information, see AWS OpsWorks endpoints and quotas in the AWS General Reference.
\n\n Throttling limits\n
\nAll 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
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 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
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
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
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.
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
The engine type of the server. Valid values in this release include ChefAutomate
and Puppet
.\n
The engine model of the server. Valid values in this release include Monolithic
for Puppet and Single
for Chef.\n
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 CHEF_AUTOMATE_PIVOTAL_KEY
: A base64-encoded RSA private key that is\n generated by AWS OpsWorks for Chef Automate. This private key is required to access\n the Chef API.
\n CHEF_STARTER_KIT
: A base64-encoded ZIP file.\n The ZIP file contains a Chef starter kit, which includes a README, a\n configuration file, and the required RSA private key. Save this file, unzip it,\n and then change to the directory where you've unzipped the file contents.\n From this directory, you can run Knife commands.
\n Attributes returned in a createServer response for Puppet\n
\n\n PUPPET_STARTER_KIT
: A base64-encoded ZIP file.\n The ZIP file contains a Puppet starter kit, including a README and a\n required private key. Save this file, unzip it,\n and then change to the directory where you've unzipped the file contents.
\n PUPPET_ADMIN_PASSWORD
: An administrator password that you can use to sign in to the Puppet Enterprise console after the server is online.
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
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
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 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
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\n CHEF_MAJOR_UPGRADE
: If a Chef Automate server is eligible for upgrade to Chef Automate 2, \n add this engine attribute to a StartMaintenance
request and set the value to true
to upgrade the server to Chef Automate 2. For more information, see \n Upgrade an AWS OpsWorks for Chef Automate Server to Chef Automate 2.\n
Contains the response to a StartMaintenance
request.\n
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
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
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
.
A map that contains tag keys and tag values to attach to AWS OpsWorks-CM servers or backups.
\nThe key cannot be empty.
\nThe key can be a maximum of 127 characters, and can contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
The value can be a maximum 255 characters, and contain only Unicode letters, numbers, or separators, or the following special characters: + - = . _ : /
\n
Leading and trailing white spaces are trimmed from both the key and value.
\nA maximum of 50 user-applied tags is allowed for any AWS OpsWorks-CM server or backup.
\n\n DDD:HH:MM
(weekly start time) or\n HH:MM
(daily start time).\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
.
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
.
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 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
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
Setting DisableAutomatedBackup to true
disables automated or scheduled backups. Automated backups are enabled by default.\n
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
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" } } } }