GetDevEndpointsCommand

Retrieves all the development endpoints in this Amazon Web Services account.

When you create a development endpoint in a virtual private cloud (VPC), Glue returns only a private IP address and the public IP address field is not populated. When you create a non-VPC development endpoint, Glue returns only a public IP address.

Example Syntax

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

import { GlueClient, GetDevEndpointsCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, GetDevEndpointsCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // GetDevEndpointsRequest
  MaxResults: Number("int"),
  NextToken: "STRING_VALUE",
};
const command = new GetDevEndpointsCommand(input);
const response = await client.send(command);
// { // GetDevEndpointsResponse
//   DevEndpoints: [ // DevEndpointList
//     { // DevEndpoint
//       EndpointName: "STRING_VALUE",
//       RoleArn: "STRING_VALUE",
//       SecurityGroupIds: [ // StringList
//         "STRING_VALUE",
//       ],
//       SubnetId: "STRING_VALUE",
//       YarnEndpointAddress: "STRING_VALUE",
//       PrivateAddress: "STRING_VALUE",
//       ZeppelinRemoteSparkInterpreterPort: Number("int"),
//       PublicAddress: "STRING_VALUE",
//       Status: "STRING_VALUE",
//       WorkerType: "Standard" || "G.1X" || "G.2X" || "G.025X" || "G.4X" || "G.8X" || "Z.2X",
//       GlueVersion: "STRING_VALUE",
//       NumberOfWorkers: Number("int"),
//       NumberOfNodes: Number("int"),
//       AvailabilityZone: "STRING_VALUE",
//       VpcId: "STRING_VALUE",
//       ExtraPythonLibsS3Path: "STRING_VALUE",
//       ExtraJarsS3Path: "STRING_VALUE",
//       FailureReason: "STRING_VALUE",
//       LastUpdateStatus: "STRING_VALUE",
//       CreatedTimestamp: new Date("TIMESTAMP"),
//       LastModifiedTimestamp: new Date("TIMESTAMP"),
//       PublicKey: "STRING_VALUE",
//       PublicKeys: [ // PublicKeysList
//         "STRING_VALUE",
//       ],
//       SecurityConfiguration: "STRING_VALUE",
//       Arguments: { // MapValue
//         "<keys>": "STRING_VALUE",
//       },
//     },
//   ],
//   NextToken: "STRING_VALUE",
// };

GetDevEndpointsCommand Input

See GetDevEndpointsCommandInput for more details

Parameter
Type
Description
MaxResults
number | undefined

The maximum size of information to return.

NextToken
string | undefined

A continuation token, if this is a continuation call.

GetDevEndpointsCommand Output

Parameter
Type
Description
$metadata
Required
ResponseMetadata
Metadata pertaining to this request.
DevEndpoints
DevEndpoint[] | undefined

A list of DevEndpoint definitions.

NextToken
string | undefined

A continuation token, if not all DevEndpoint definitions have yet been returned.

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.

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