X4 Produktdokumentation

Operation: BatchDeleteMultipleItems:

Withh the BatchDeleteMultipleItems operation of the Amazon S3 DynamoDB Connector, you delete multiple elements from a tabltable with a s with a singlgle call.

For more information on other operations of the Amazon S3 DynamoDB Connector, see Amazon S3 DynamoDB Connector.

Parameterss

keyID

Access k key ID for requests to Amazon Web Services (AWS (AWS)

Note:

The credentials are sentt to the adapter vivia parameters.s. There are variouious configuration optionss. For more information, s, see Setting Up Credentialstials.

Possible valuess:

Any string withh the access k key ID, e.g. AKIAIOSFODNN7EXAMPLE

secretKey

Secret access k key for requests to AWS

Note:

The credentialstials are sentt to the adapter vivia parameters. Th. There are various configuration optionss. For more information, see Setting Up Credentials.

Possible values:

Any string withh the secret access k key, e.g. wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY

region

Region of the domains

Note:

Buckets created in a specific regiogion cannot bbe invokvoked fd fromom another region. For more information, see Regions and Endpoints.

Possible valuess:

Any strinng with the name of the region, e.g. us-east-2

tableName

✳️

This parameter is required for this operation.

Table name

Possible valuess:

String withh the table name according to tcording to thee followingg name rules:

  • All names must bt be UTF-8 encodedcoded

  • Table names are case-sensinsitive

  • Table names and index names must be between 3 and 255 charactaracters long andd mmust contain onnly the followingg characters:

    • a-z

    • A-Z

    • 0-9

    • _ (Underscore)

    • - (Hyphen)

    • . (period)

  • Attribute e names must bt be between 1 and 255 charactaracters long.

partitionKey, partitionType,, and partitionKeyValue

Elements of the primary table key

Possible valuess:

  • PartitionKey: Name of the partition key

  • PartitionType: Partition typee

    • S: The attributee is a string

    • N: The attributee is a numbumber

    • B: The attributee is of the Binary typey type

  • PartitionKeyValue: Value of the element

sortKey, sortType,, and sortKeyValue

Elements of the primary table key

Possible values:

  • SortKey: Name of the sort key

  • SortType: Sort typee

    • S: The attributee is a string

    • N: The attributee is a numbumber

    • B: The attributee is of the Binary typey type

  • SortKeyValue: Value of the element

Status valuess

1

The adapterr operation was executed ted successssfully

0

The operation was not compmpleteded, but noo error occurred.

-1

The operation fafailed due too a technical error.

Input

This operation reququiress an input XML file containaininng the elements.

This input specifies the primary keys of the items to be deleted. If the primary key consiists oonly of the partitionKey, only the partionKey is required. If the primary key consiists of of partitionKey and SortKey,, both keys ays are reququirered for the element to be deleted to be unbe unique. The output of this operation is also the input.

<?xml version="1.0" encoding="UTF-8" ?>
<RootElement>
	<Item>
		<Attribute1 name="ID" type="N" value="7" />
		<Attribute7 name="Name" type="S" value="Luis" />
	</Item>
	<Item>
		<Attribute1 name="ID" type="N" value="6" />
		<Attribute7 name="Name" type="S" value="Luis" />
	</Item>
</RootElement>

Output

The adapter dedeletes the elements from the table accordinaccording to the configured parameterss. In addition,ion, the adapter outputs the same XML file that wwas entered dururing input.. This cas can be useful for furthher operations.