UpdateDevEndpointCommand

Updates a specified development endpoint.

Example Syntax

Use a bare-bones client and the command you need to make an API call.

import { GlueClient, UpdateDevEndpointCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, UpdateDevEndpointCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // UpdateDevEndpointRequest
  EndpointName: "STRING_VALUE", // required
  PublicKey: "STRING_VALUE",
  AddPublicKeys: [ // PublicKeysList
    "STRING_VALUE",
  ],
  DeletePublicKeys: [
    "STRING_VALUE",
  ],
  CustomLibraries: { // DevEndpointCustomLibraries
    ExtraPythonLibsS3Path: "STRING_VALUE",
    ExtraJarsS3Path: "STRING_VALUE",
  },
  UpdateEtlLibraries: true || false,
  DeleteArguments: [ // StringList
    "STRING_VALUE",
  ],
  AddArguments: { // MapValue
    "<keys>": "STRING_VALUE",
  },
};
const command = new UpdateDevEndpointCommand(input);
const response = await client.send(command);
// {};

UpdateDevEndpointCommand Input

See UpdateDevEndpointCommandInput for more details

Parameter
Type
Description
EndpointName
Required
string | undefined

The name of the DevEndpoint to be updated.

AddArguments
Record<string, string> | undefined

The map of arguments to add the map of arguments used to configure the DevEndpoint.

Valid arguments are:

  • "--enable-glue-datacatalog": ""

You can specify a version of Python support for development endpoints by using the Arguments parameter in the CreateDevEndpoint or UpdateDevEndpoint APIs. If no arguments are provided, the version defaults to Python 2.

AddPublicKeys
string[] | undefined

The list of public keys for the DevEndpoint to use.

CustomLibraries
DevEndpointCustomLibraries | undefined

Custom Python or Java libraries to be loaded in the DevEndpoint.

DeleteArguments
string[] | undefined

The list of argument keys to be deleted from the map of arguments used to configure the DevEndpoint.

DeletePublicKeys
string[] | undefined

The list of public keys to be deleted from the DevEndpoint.

PublicKey
string | undefined

The public key for the DevEndpoint to use.

UpdateEtlLibraries
boolean | undefined

True if the list of custom libraries to be loaded in the development endpoint needs to be updated, or False if otherwise.

UpdateDevEndpointCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.

Throws

Name
Fault
Details
EntityNotFoundException
client

A specified entity does not exist

InternalServiceException
server

An internal service error occurred.

InvalidInputException
client

The input provided was not valid.

OperationTimeoutException
client

The operation timed out.

ValidationException
client

A value could not be validated.

GlueServiceException
Base exception class for all service exceptions from Glue service.