remove_tdapi_context Method | teradataml AWS Extension Library | API Integration - remove_tdapi_context Method - Teradata Vantage

Teradata Vantageā„¢ - API Integration Guide for Cloud Machine Learning

Deployment
VantageCloud
VantageCore
Edition
Enterprise
IntelliFlex
VMware
Product
Teradata Vantage
Release Number
1.4
Published
September 2023
Language
English (United States)
Last Update
2023-09-28
dita:mapPath
mgu1643999543506.ditamap
dita:ditavalPath
ayr1485454803741.ditaval
dita:id
mgu1643999543506

Use the remove_tdapi_contex method to remove a specified TDAPI context.

For AWS, this method also removes any S3 folder created during the operations of tdapiclient.

Required Argument:
  • tdapi_context: Specifies the TDAPI context to be removed.

Example

This example creates AWS context using "s3_bucket" as parent folder in default bucket. And then remove it.

from tdapiclient import create_tdapi_context, remove_tdapi_contex
context = create_tdapi_context("aws", "s3_bucket")
remove_tdapi_context(context)