Parameter description
Attribute | Type | Description |
---|---|---|
cluster_id | str | Cluster ID |
group_name | str | Instance group name |
instance_id | str | Instance ID |
Response description
The recreate_cluster_instance method returns an ActionResponse
object. ActionResponse
provides only two attributes: request ID and status code.
Example
try:
# Get a Client object.
client = Client(...
...
cluster_id = 'cls-xxxx'
group_name = 'group1'
instance_id = 'i-xxxx'
client.recreate_cluster_instance(cluster_id, group_name, instance_id)
except ClientError, e:
print(e)