Skip to main content

dev_endpoints

Creates, updates, deletes, gets or lists a dev_endpoints resource.

Overview

Namedev_endpoints
TypeResource
Idaws.glue.dev_endpoints

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
dev_endpointsarrayA list of DevEndpoint definitions.
dev_endpoints_not_foundarrayA list of DevEndpoints not found.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
batch_get_dev_endpointsselectregionReturns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.
get_dev_endpointselectregionRetrieves 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.
get_dev_endpointsselectregionRetrieves 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.
create_dev_endpointinsertregion, EndpointName, RoleArnCreates a new development endpoint.
update_dev_endpointupdateregion, EndpointNameUpdates a specified development endpoint.
delete_dev_endpointdeleteregionDeletes a specified development endpoint.
list_dev_endpointsexecregionRetrieves the names of all DevEndpoint resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns a list of resource metadata for a given list of development endpoint names. After calling the ListDevEndpoints operation, you can call this operation to access the data to which you have been granted permissions. This operation supports all IAM permissions, including permission conditions that uses tags.

SELECT
dev_endpoints,
dev_endpoints_not_found
FROM aws.glue.dev_endpoints
WHERE region = '{{ region }}' -- required
;

INSERT examples

Creates a new development endpoint.

INSERT INTO aws.glue.dev_endpoints (
EndpointName,
RoleArn,
SecurityGroupIds,
SubnetId,
PublicKey,
PublicKeys,
NumberOfNodes,
WorkerType,
GlueVersion,
NumberOfWorkers,
ExtraPythonLibsS3Path,
ExtraJarsS3Path,
SecurityConfiguration,
Tags,
Arguments,
region
)
SELECT
'{{ EndpointName }}' /* required */,
'{{ RoleArn }}' /* required */,
'{{ SecurityGroupIds }}',
'{{ SubnetId }}',
'{{ PublicKey }}',
'{{ PublicKeys }}',
{{ NumberOfNodes }},
'{{ WorkerType }}',
'{{ GlueVersion }}',
{{ NumberOfWorkers }},
'{{ ExtraPythonLibsS3Path }}',
'{{ ExtraJarsS3Path }}',
'{{ SecurityConfiguration }}',
'{{ Tags }}',
'{{ Arguments }}',
'{{ region }}'
RETURNING
arguments,
availability_zone,
created_timestamp,
endpoint_name,
extra_jars_s3_path,
extra_python_libs_s3_path,
failure_reason,
glue_version,
number_of_nodes,
number_of_workers,
role_arn,
security_configuration,
security_group_ids,
status,
subnet_id,
vpc_id,
worker_type,
yarn_endpoint_address,
zeppelin_remote_spark_interpreter_port
;

UPDATE examples

Updates a specified development endpoint.

UPDATE aws.glue.dev_endpoints
SET
EndpointName = '{{ EndpointName }}',
PublicKey = '{{ PublicKey }}',
AddPublicKeys = '{{ AddPublicKeys }}',
DeletePublicKeys = '{{ DeletePublicKeys }}',
CustomLibraries = '{{ CustomLibraries }}',
UpdateEtlLibraries = {{ UpdateEtlLibraries }},
DeleteArguments = '{{ DeleteArguments }}',
AddArguments = '{{ AddArguments }}'
WHERE
region = '{{ region }}' --required
AND EndpointName = '{{ EndpointName }}' --required;

DELETE examples

Deletes a specified development endpoint.

DELETE FROM aws.glue.dev_endpoints
WHERE region = '{{ region }}' --required
;

Lifecycle Methods

Retrieves the names of all DevEndpoint resources in this Amazon Web Services account, or the resources with the specified tag. This operation allows you to see which resources are available in your account, and their names. This operation takes the optional Tags field, which you can use as a filter on the response so that tagged resources can be retrieved as a group. If you choose to use tags filtering, only resources with the tag are retrieved.

EXEC aws.glue.dev_endpoints.list_dev_endpoints
@region='{{ region }}' --required
@@json=
'{
"NextToken": "{{ NextToken }}",
"MaxResults": {{ MaxResults }},
"Tags": "{{ Tags }}"
}'
;