View a markdown version of this page

PutAccountSettings - Amazon Elastic VMware Service

PutAccountSettings

Creates or updates account-level EVS settings for your AWS account in the specified AWS Region.

EVS settings included in the request are created or overwritten. Settings omitted from the request retain their current values.

Request Syntax

{ "settings": [ { "name": "string", "value": "string" } ] }

Request Parameters

For information about the parameters that are common to all actions, see Common Parameters.

The request accepts the following data in JSON format.

Note

In the following list, the required parameters are described first.

settings

A list of regional account-level EVS settings to create or update. Only the settings included in this list are modified.

Type: Array of AccountSetting objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Required: Yes

Response Syntax

{ "settings": [ { "name": "string", "value": "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.

settings

A list of regional account-level EVS settings, and their values, that were modified in this request.

Type: Array of AccountSetting objects

Array Members: Minimum number of 0 items. Maximum number of 100 items.

Errors

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

InternalServerException

An internal server error occurred. Retry your request.

message

Describes the error encountered.

HTTP Status Code: 500

ThrottlingException

The operation could not be performed because the service is throttling requests. This exception is thrown when the service endpoint receives too many concurrent requests.

message

Describes the error encountered.

retryAfterSeconds

The seconds to wait to retry.

HTTP Status Code: 400

ValidationException

The input fails to satisfy the specified constraints. You will see this exception if invalid inputs are provided for any of the Amazon EVS environment operations, or if a list operation is performed on an environment resource that is still initializing.

fieldList

A list of fields that didn't validate.

message

Describes the error encountered.

reason

The reason for the exception.

HTTP Status Code: 400

See Also

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