CreateRfcAttachment - AWS Managed Services

CreateRfcAttachment

Create an attachment for an existing RFC.

Request Syntax

{ "Content": blob, "FileName": "string", "RfcId": "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.

Content

The content of the RFC attachment, which is binary data.

Type: Base64-encoded binary data object

Required: Yes

FileName

The file name of the RFC attachment.

Type: String

Required: Yes

RfcId

The RFC identifier for an RFC attachment request.

Type: String

Required: Yes

Response Syntax

{ "AttachmentId": "string", "RfcId": "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.

AttachmentId

The attachment identifier in an RFC attachment response.

Type: String

RfcId

The RFC identifier in an RFC attachment request.

Type: String

Errors

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

InternalServerError

An unspecified server error occurred.

HTTP Status Code: 500

InvalidArgumentException

A specified argument is not valid.

HTTP Status Code: 400

InvalidRfcStateException

The RFC is not in a state that allows the requested operation. Actual status code: 409

HTTP Status Code: 400

ResourceNotFoundException

A specified resource could not be located. Actual status code: 404

HTTP Status Code: 400

ServiceQuotaExceededException

You have exceeded your service quotas.

HTTP Status Code: 400

See Also

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