Skip to content

Attaches a form to an asset or an iterable form item in Glue Data Catalog

Description

Attaches a form to an asset or an iterable form item in Glue Data Catalog. If an attachment with the same name already exists, it is overwritten.

Usage

glue_put_attachment(AssetIdentifier, IterableFormName, ItemIdentifier,
  AttachmentName, Content, FormTypeId, ClientToken)

Arguments

  • AssetIdentifier

[required] The unique identifier of the asset to attach the form to.

  • IterableFormName

The name of the iterable form. When specified along with itemIdentifier, the attachment targets an item within the iterable form rather than the asset itself.

  • ItemIdentifier

The identifier of the item within the iterable form. Required when iterableFormName is specified.

  • AttachmentName

[required] The name of the attachment.

  • Content

[required] The JSON content of the form, conforming to the schema of the specified form type.

  • FormTypeId

[required] The identifier of the form type for this attachment.

  • ClientToken

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.

Value

A list with the following syntax:

list(
  AssetIdentifier = "string",
  IterableFormName = "string",
  ItemIdentifier = "string",
  AttachmentName = "string",
  FormTypeId = "string"
)

Request syntax

svc$put_attachment(
  AssetIdentifier = "string",
  IterableFormName = "string",
  ItemIdentifier = "string",
  AttachmentName = "string",
  Content = "string",
  FormTypeId = "string",
  ClientToken = "string"
)