- Navigation GuideYou are on a Command (operation) page with structural examples. Use the navigation breadcrumb if you would like to return to the Client landing page.
GetDevEndpointCommand
Retrieves information about a specified development endpoint.
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, GetDevEndpointCommand } from "@aws-sdk/client-glue"; // ES Modules import
// const { GlueClient, GetDevEndpointCommand } = require("@aws-sdk/client-glue"); // CommonJS import
const client = new GlueClient(config);
const input = { // GetDevEndpointRequest
EndpointName: "STRING_VALUE", // required
};
const command = new GetDevEndpointCommand(input);
const response = await client.send(command);
// { // GetDevEndpointResponse
// DevEndpoint: { // 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",
// },
// },
// };
GetDevEndpointCommand Input
See GetDevEndpointCommandInput for more details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
EndpointName Required | string | undefined | Name of the |
GetDevEndpointCommand Output
See GetDevEndpointCommandOutput for details
Parameter | Type | Description |
---|
Parameter | Type | Description |
---|---|---|
$metadata Required | ResponseMetadata | Metadata pertaining to this request. |
DevEndpoint | DevEndpoint | undefined | A |
Throws
Name | Fault | Details |
---|
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. |