UpdateWebAppCustomization - AWS Transfer Family

UpdateWebAppCustomization

Assigns new customization properties to a web app. You can modify the icon file, logo file, and title.

Request Syntax

{ "FaviconFile": blob, "LogoFile": blob, "Title": "string", "WebAppId": "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.

FaviconFile

Specify icon file data string (in base64 encoding).

Type: Base64-encoded binary data object

Length Constraints: Minimum length of 1. Maximum length of 20960.

Required: No

LogoFile

Specify logo file data string (in base64 encoding).

Type: Base64-encoded binary data object

Length Constraints: Minimum length of 1. Maximum length of 51200.

Required: No

Title

Provide an updated title.

Type: String

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

Required: No

WebAppId

Provide the identifier of the web app that you are updating.

Type: String

Length Constraints: Fixed length of 24.

Pattern: webapp-[0-9a-f]{17}

Required: Yes

Response Syntax

{ "WebAppId": "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.

WebAppId

Returns the unique identifier for the web app being updated.

Type: String

Length Constraints: Fixed length of 24.

Pattern: webapp-[0-9a-f]{17}

Errors

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

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 400

ConflictException

This exception is thrown when the UpdateServer is called for a file transfer protocol-enabled server that has VPC as the endpoint type and the server's VpcEndpointID is not in the available state.

HTTP Status Code: 400

InternalServiceError

This exception is thrown when an error occurs in the AWS Transfer Family service.

HTTP Status Code: 500

InvalidRequestException

This exception is thrown when the client submits a malformed request.

HTTP Status Code: 400

ResourceNotFoundException

This exception is thrown when a resource is not found by the AWSTransfer Family service.

HTTP Status Code: 400

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 400

See Also

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