Appsplus panel macro confluence macro | ||
---|---|---|
| ||
**Delete Before Publishing**
|
In this article
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Overview
You can use this Snap to delete an S3 object specified in the Bucket and Object Key fields. If you want to delete multiple S3 objects, use the S3 Browser Snap in the upstream with Bucket and Object Key fields expression-enabled.
When the specified object does not exist, the Snap displays '200 OK'
status in the output document without any error.
...
Snap Type
<Snap name> S3 Delete Snap is a READ/ WRITE/PARSE/TRANSFORM/FLOW/FORMAT-type Snap that reads/fetches/writes/parses/executes/transforms/calls/creates…
Prerequisites
Valid client ID.
A valid account with the required permissions.
writes the status of the deleted S3 objects.
Prerequisites
None.
Support for Ultra Pipelines
...
Works in Ultra Pipelines if....Does not support Ultra Pipelines.
Limitations
...
None.
and Known Issues
None.
Snap Views
Type | Format | Number of Views | Examples of Upstream and Downstream Snaps | Description |
---|---|---|---|---|
Input | Document Binary Binary or Document |
|
| Requires the EDI data and internal ID as a JSON document. |
Output Document Binary | Binary or Document |
|
| The EDI transaction ID and order confirmation. |
Error | Error handling is a generic way to handle errors without losing data or failing the Snap execution. You can handle the errors that the Snap might encounter while running the Pipeline by choosing one of the following options from the When errors occur list under the Views tab. The available options are:
Learn more about Error handling in Pipelines. |
Snap Settings
...
data | {"features":["title","icon","rounded","collapsible","border"],"title":"Documenting Fields Based On Data Type/UI Element","titleColor":"#000000","titleColorBG":"#ff5c30","titleSize":"14","titleBold":true,"titleItalic":false,"titleUnderline":false,"lozenge":"Hot stuff","lozengeColor":"#172B4D","lozengeColorBG":"#fff0b3","height":200,"panelPadding":12,"panelColor":"#172B4D","panelColorBG":"#FFFFFF","borderColor":"#ff5c30","borderRadius":3,"borderStyle":"solid","borderWidth":1,"icon":"editor/info","iconPrimary":"#FFFFFF","iconSecondary":"#0052CC","newMacro":false} |
---|
**Delete Before Publishing**
Choose from the following sentences to document specific field types.
Drop-down lists/Option Buttons (radio buttons):
You must list the LoV and describe them if their meaning isn't apparent. In this case, format the LoV in italics, regular font for the LoV's description. In either case, list the LoVs as a bullet list.
<State what the option should do in this field>. The available options are: <bullet list of LoVs>
Specify the Salesforce API to be used. The available options are:...Select the <category> that you want to use. Available options are...
* Option 1<italicized>. <third person singular form of the verb>
* Option 2<italicized>. <third person singular form of the verb>
Select the API that you want to use. Available options are:
Bulk API. Sends the Snap execution request details as a bulk API call.
REST API. ...
OR
Select one of the three following modes in which the Snap executes:
* Validate & Execute. Performs limited execution of the Snap and generates a data preview during Pipeline validation, then performs full execution of the Snap (unlimited records) during Pipeline runtime.
* Execute only. Performs full execution of the Snap during Pipeline execution without generating preview data.
* Disabled. Disables the Snap and all Snaps downstream from it.
Check boxes:
...
If selected, <Snap behavior>.
If selected, an empty file is written when the incoming document has no data.
...
If selected, <behavior>. If not selected/Otherwise, <behavior>
Use "If not selected" if the first sentence is long.
If selected, the Snap uses the file path value as is. Otherwise, the Snap uses the file path value in the URL.
If selected, an empty file is written when the incoming document has empty data. If there is no incoming document at the input view of the Snap, no file is written regardless of the value of the property.
...
Info |
---|
|
Field Name | Field Type | Field Dependency | Description | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Label* Default Value: | ELT Database Account S3 Delete | ELT RS AccountS3 Delete | StringNone. | N/A | The name for the Snap. You can modify this to be more specific, especially if you have more than one of the same Snap in your Pipeline. | Number of records|||||||
Bucket* Default Value: [None]
| String/Expression | Sampling Type is Number of records. | Enter the number of records to output. | Field set Name | Field 1* Default Value: <value> or None. | String | Debug mode check box is not selected. | Field 2 Default Value: <value> or None. | String | None/Suggestion | N/A | Specify the S3 bucket name where the S3 object to be deleted is located. Bucket names are globally unique, hence you can access them without its region name. In case you are unable to access a bucket without specifying its region name, you can specify the same using the following syntax:
The <endpoint> also applies to Virtual Private Cloud (VPC) S3 endpoint. Note: When you specify a wrong region name, however if the bucket name is valid, AWS S3 service may allow you to access the bucket without any error. |
Object Key* Default Value: [None]
| String/Expression/Suggestion | N/A | Specify the S3 object key name, which may include one or more forward-slash ('/') characters. The forward-slash character is just part of the S3 object key name and there is no folder object defined in AWS S3. The maximum length of the suggested list is 1,000. | |||||||||
Show Advanced Properties | Checkbox | N/A | ||||||||||
Thread Pool Size Default Value: 10 | Integer/Expression | Appears on selecting Show Advanced Properties checkbox. | Specify the maximum number of threads to be used to delete multiple S3 objects in parallel with Bucket and Object Key properties expression-enabled. If Thread Pool Size property is expression-enabled, it can be evaluated with a pipeline parameter, not with an input document. Therefore, the value of this property remains constant throughout a pipeline execution. | |||||||||
Maximum Retries* Default Value: 3 | Integer/Expression | Appears on selecting Show Advanced Properties checkbox. | Specify the maximum number of retry attempts to to perform in case of a temporary network loss.. | |||||||||
Pass Through | Checkbox | Appears on selecting Show Advanced Properties checkbox. | Select this checkbox to pass the input document to the output view as a value to the ' | |||||||||
Snap Execution Default Value: | Dropdown list | N/A | Select one of the three modes in which the Snap executes. Available options are:
|
Troubleshooting
Error | Reason | Resolution |
---|---|---|
Account validation failed. | The Pipeline ended before the batch could complete execution due to a connection error. | Verify that the Refresh token field is configured to handle the inputs properly. If you are not sure when the input data is available, configure this field as zero to keep the connection always open. |
Examples
...
We can exclude the unrequired fields from the input data stream by omitting them in the Input schema field set. This example demonstrates how we can use the <Snap Name> to achieve this result:
<screenshot of Pipeline/Snap and description>
Download this Pipeline.
Downloads
Info |
---|
|
Attachments | ||||
---|---|---|---|---|
|
Insert excerpt | ||||
---|---|---|---|---|
|
Related Links
...
Endpoint Doc Link 1
...
Endpoint Doc Link 2
...
|
...