View a markdown version of this page

UpdateAppliance - AWS Backup

UpdateAppliance

Updates the name, configuration, or operation mode of the specified appliance.

Request Syntax

PATCH /appliances/appliance/ApplianceArn HTTP/1.1 Content-type: application/json { "ApplianceIamRoleArn": "string", "ApplianceName": "string", "ApplianceOperationMode": "string", "NetworkConfiguration": { "DnsServers": [ "string" ], "DomainName": "string", "NtpServers": [ "string" ], "SearchDomains": [ "string" ] }, "NodeFaultTolerance": number }

URI Request Parameters

The request uses the following URI parameters.

ApplianceArn

The Amazon Resource Name (ARN) of the appliance.

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:appliance:[a-zA-Z0-9-]{36}

Required: Yes

Request Body

The request accepts the following data in JSON format.

ApplianceIamRoleArn

The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role used by the appliance.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-z0-9-]{0,30}:iam::[0-9]{12}:role/[a-zA-Z0-9+=,.@_/-]+

Required: No

ApplianceName

The name of the appliance.

Type: String

Required: No

ApplianceOperationMode

The operation mode of the appliance.

Type: String

Valid Values: RUNNING | PAUSED

Required: No

NetworkConfiguration

The network configuration of the appliance.

Type: ApplianceNetworkConfigurationForUpdate object

Required: No

NodeFaultTolerance

The number of node failures that the appliance can tolerate.

Type: Integer

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "ApplianceArn": "string", "ApplianceName": "string", "ApplianceOperationMode": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

ApplianceArn

The Amazon Resource Name (ARN) of the appliance.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 256.

Pattern: arn:aws[a-z0-9-]{0,30}:backup-external:[a-z0-9-]{1,30}:[0-9]{12}:appliance:[a-zA-Z0-9-]{36}

ApplianceName

The name of the appliance.

Type: String

ApplianceOperationMode

The operation mode of the appliance.

Type: String

Valid Values: PENDING | RUNNING | PAUSED

Errors

For information about the errors that are common to all actions, see Common Error Types.

AccessDeniedException

The request was denied because you do not have permission to perform the requested operation.

HTTP Status Code: 403

ConflictException

The request conflicts with the current state of the specified resource.

HTTP Status Code: 409

InternalServerException

The request failed because of an internal server error.

HTTP Status Code: 500

ResourceNotFoundException

The specified resource was not found.

HTTP Status Code: 404

ThrottlingException

The request was denied because the request rate is too high.

HTTP Status Code: 429

ValidationException

The request contains invalid parameters.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: