Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Creates a new development endpoint.
Synopsis
- data CreateDevEndpoint = CreateDevEndpoint' {
- arguments :: Maybe (HashMap Text Text)
- extraJarsS3Path :: Maybe Text
- extraPythonLibsS3Path :: Maybe Text
- glueVersion :: Maybe Text
- numberOfNodes :: Maybe Int
- numberOfWorkers :: Maybe Int
- publicKey :: Maybe Text
- publicKeys :: Maybe [Text]
- securityConfiguration :: Maybe Text
- securityGroupIds :: Maybe [Text]
- subnetId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- workerType :: Maybe WorkerType
- endpointName :: Text
- roleArn :: Text
- newCreateDevEndpoint :: Text -> Text -> CreateDevEndpoint
- createDevEndpoint_arguments :: Lens' CreateDevEndpoint (Maybe (HashMap Text Text))
- createDevEndpoint_extraJarsS3Path :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_extraPythonLibsS3Path :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_glueVersion :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_numberOfNodes :: Lens' CreateDevEndpoint (Maybe Int)
- createDevEndpoint_numberOfWorkers :: Lens' CreateDevEndpoint (Maybe Int)
- createDevEndpoint_publicKey :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_publicKeys :: Lens' CreateDevEndpoint (Maybe [Text])
- createDevEndpoint_securityConfiguration :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_securityGroupIds :: Lens' CreateDevEndpoint (Maybe [Text])
- createDevEndpoint_subnetId :: Lens' CreateDevEndpoint (Maybe Text)
- createDevEndpoint_tags :: Lens' CreateDevEndpoint (Maybe (HashMap Text Text))
- createDevEndpoint_workerType :: Lens' CreateDevEndpoint (Maybe WorkerType)
- createDevEndpoint_endpointName :: Lens' CreateDevEndpoint Text
- createDevEndpoint_roleArn :: Lens' CreateDevEndpoint Text
- data CreateDevEndpointResponse = CreateDevEndpointResponse' {
- arguments :: Maybe (HashMap Text Text)
- availabilityZone :: Maybe Text
- createdTimestamp :: Maybe POSIX
- endpointName :: Maybe Text
- extraJarsS3Path :: Maybe Text
- extraPythonLibsS3Path :: Maybe Text
- failureReason :: Maybe Text
- glueVersion :: Maybe Text
- numberOfNodes :: Maybe Int
- numberOfWorkers :: Maybe Int
- roleArn :: Maybe Text
- securityConfiguration :: Maybe Text
- securityGroupIds :: Maybe [Text]
- status :: Maybe Text
- subnetId :: Maybe Text
- vpcId :: Maybe Text
- workerType :: Maybe WorkerType
- yarnEndpointAddress :: Maybe Text
- zeppelinRemoteSparkInterpreterPort :: Maybe Int
- httpStatus :: Int
- newCreateDevEndpointResponse :: Int -> CreateDevEndpointResponse
- createDevEndpointResponse_arguments :: Lens' CreateDevEndpointResponse (Maybe (HashMap Text Text))
- createDevEndpointResponse_availabilityZone :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_createdTimestamp :: Lens' CreateDevEndpointResponse (Maybe UTCTime)
- createDevEndpointResponse_endpointName :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_extraJarsS3Path :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_extraPythonLibsS3Path :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_failureReason :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_glueVersion :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_numberOfNodes :: Lens' CreateDevEndpointResponse (Maybe Int)
- createDevEndpointResponse_numberOfWorkers :: Lens' CreateDevEndpointResponse (Maybe Int)
- createDevEndpointResponse_roleArn :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_securityConfiguration :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_securityGroupIds :: Lens' CreateDevEndpointResponse (Maybe [Text])
- createDevEndpointResponse_status :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_subnetId :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_vpcId :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_workerType :: Lens' CreateDevEndpointResponse (Maybe WorkerType)
- createDevEndpointResponse_yarnEndpointAddress :: Lens' CreateDevEndpointResponse (Maybe Text)
- createDevEndpointResponse_zeppelinRemoteSparkInterpreterPort :: Lens' CreateDevEndpointResponse (Maybe Int)
- createDevEndpointResponse_httpStatus :: Lens' CreateDevEndpointResponse Int
Creating a Request
data CreateDevEndpoint Source #
See: newCreateDevEndpoint
smart constructor.
CreateDevEndpoint' | |
|
Instances
Create a value of CreateDevEndpoint
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateDevEndpoint
, createDevEndpoint_arguments
- A map of arguments used to configure the DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_extraJarsS3Path
- The path to one or more Java .jar
files in an S3 bucket that should be
loaded in your DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_extraPythonLibsS3Path
- The paths to one or more Python libraries in an Amazon S3 bucket that
should be loaded in your DevEndpoint
. Multiple values must be complete
paths separated by a comma.
You can only use pure Python libraries with a DevEndpoint
. Libraries
that rely on C extensions, such as the
pandas Python data analysis library, are not
yet supported.
CreateDevEndpoint
, createDevEndpoint_glueVersion
- Glue version determines the versions of Apache Spark and Python that
Glue supports. The Python version indicates the version supported for
running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
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.
CreateDevEndpoint
, createDevEndpoint_numberOfNodes
- The number of Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_numberOfWorkers
- The number of workers of a defined workerType
that are allocated to
the development endpoint.
The maximum number of workers you can define are 299 for G.1X
, and 149
for G.2X
.
CreateDevEndpoint
, createDevEndpoint_publicKey
- The public key to be used by this DevEndpoint
for authentication. This
attribute is provided for backward compatibility because the recommended
attribute to use is public keys.
CreateDevEndpoint
, createDevEndpoint_publicKeys
- A list of public keys to be used by the development endpoints for
authentication. The use of this attribute is preferred over a single
public key because the public keys allow you to have a different private
key per client.
If you previously created an endpoint with a public key, you must remove
that key to be able to set a list of public keys. Call the
UpdateDevEndpoint
API with the public key content in the
deletePublicKeys
attribute, and the list of new keys in the
addPublicKeys
attribute.
CreateDevEndpoint
, createDevEndpoint_securityConfiguration
- The name of the SecurityConfiguration
structure to be used with this
DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_securityGroupIds
- Security group IDs for the security groups to be used by the new
DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_subnetId
- The subnet ID for the new DevEndpoint
to use.
$sel:tags:CreateDevEndpoint'
, createDevEndpoint_tags
- The tags to use with this DevEndpoint. You may use tags to limit access
to the DevEndpoint. For more information about tags in Glue, see
Amazon Web Services Tags in Glue
in the developer guide.
CreateDevEndpoint
, createDevEndpoint_workerType
- The type of predefined worker that is allocated to the development
endpoint. Accepts a value of Standard, G.1X, or G.2X.
- For the
Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. - For the
G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. - For the
G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the G.2X
WorkerType
configuration, the Spark drivers for the development
endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.
CreateDevEndpoint
, createDevEndpoint_endpointName
- The name to be assigned to the new DevEndpoint
.
CreateDevEndpoint
, createDevEndpoint_roleArn
- The IAM role for the DevEndpoint
.
Request Lenses
createDevEndpoint_arguments :: Lens' CreateDevEndpoint (Maybe (HashMap Text Text)) Source #
A map of arguments used to configure the DevEndpoint
.
createDevEndpoint_extraJarsS3Path :: Lens' CreateDevEndpoint (Maybe Text) Source #
The path to one or more Java .jar
files in an S3 bucket that should be
loaded in your DevEndpoint
.
createDevEndpoint_extraPythonLibsS3Path :: Lens' CreateDevEndpoint (Maybe Text) Source #
The paths to one or more Python libraries in an Amazon S3 bucket that
should be loaded in your DevEndpoint
. Multiple values must be complete
paths separated by a comma.
You can only use pure Python libraries with a DevEndpoint
. Libraries
that rely on C extensions, such as the
pandas Python data analysis library, are not
yet supported.
createDevEndpoint_glueVersion :: Lens' CreateDevEndpoint (Maybe Text) Source #
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
Development endpoints that are created without specifying a Glue version default to Glue 0.9.
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.
createDevEndpoint_numberOfNodes :: Lens' CreateDevEndpoint (Maybe Int) Source #
The number of Glue Data Processing Units (DPUs) to allocate to this
DevEndpoint
.
createDevEndpoint_numberOfWorkers :: Lens' CreateDevEndpoint (Maybe Int) Source #
The number of workers of a defined workerType
that are allocated to
the development endpoint.
The maximum number of workers you can define are 299 for G.1X
, and 149
for G.2X
.
createDevEndpoint_publicKey :: Lens' CreateDevEndpoint (Maybe Text) Source #
The public key to be used by this DevEndpoint
for authentication. This
attribute is provided for backward compatibility because the recommended
attribute to use is public keys.
createDevEndpoint_publicKeys :: Lens' CreateDevEndpoint (Maybe [Text]) Source #
A list of public keys to be used by the development endpoints for authentication. The use of this attribute is preferred over a single public key because the public keys allow you to have a different private key per client.
If you previously created an endpoint with a public key, you must remove
that key to be able to set a list of public keys. Call the
UpdateDevEndpoint
API with the public key content in the
deletePublicKeys
attribute, and the list of new keys in the
addPublicKeys
attribute.
createDevEndpoint_securityConfiguration :: Lens' CreateDevEndpoint (Maybe Text) Source #
The name of the SecurityConfiguration
structure to be used with this
DevEndpoint
.
createDevEndpoint_securityGroupIds :: Lens' CreateDevEndpoint (Maybe [Text]) Source #
Security group IDs for the security groups to be used by the new
DevEndpoint
.
createDevEndpoint_subnetId :: Lens' CreateDevEndpoint (Maybe Text) Source #
The subnet ID for the new DevEndpoint
to use.
createDevEndpoint_tags :: Lens' CreateDevEndpoint (Maybe (HashMap Text Text)) Source #
The tags to use with this DevEndpoint. You may use tags to limit access to the DevEndpoint. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
createDevEndpoint_workerType :: Lens' CreateDevEndpoint (Maybe WorkerType) Source #
The type of predefined worker that is allocated to the development endpoint. Accepts a value of Standard, G.1X, or G.2X.
- For the
Standard
worker type, each worker provides 4 vCPU, 16 GB of memory and a 50GB disk, and 2 executors per worker. - For the
G.1X
worker type, each worker maps to 1 DPU (4 vCPU, 16 GB of memory, 64 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs. - For the
G.2X
worker type, each worker maps to 2 DPU (8 vCPU, 32 GB of memory, 128 GB disk), and provides 1 executor per worker. We recommend this worker type for memory-intensive jobs.
Known issue: when a development endpoint is created with the G.2X
WorkerType
configuration, the Spark drivers for the development
endpoint will run on 4 vCPU, 16 GB of memory, and a 64 GB disk.
createDevEndpoint_endpointName :: Lens' CreateDevEndpoint Text Source #
The name to be assigned to the new DevEndpoint
.
createDevEndpoint_roleArn :: Lens' CreateDevEndpoint Text Source #
The IAM role for the DevEndpoint
.
Destructuring the Response
data CreateDevEndpointResponse Source #
See: newCreateDevEndpointResponse
smart constructor.
CreateDevEndpointResponse' | |
|
Instances
newCreateDevEndpointResponse Source #
Create a value of CreateDevEndpointResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
CreateDevEndpoint
, createDevEndpointResponse_arguments
- The map of arguments used to configure this 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.
CreateDevEndpointResponse
, createDevEndpointResponse_availabilityZone
- The Amazon Web Services Availability Zone where this DevEndpoint
is
located.
CreateDevEndpointResponse
, createDevEndpointResponse_createdTimestamp
- The point in time at which this DevEndpoint
was created.
CreateDevEndpoint
, createDevEndpointResponse_endpointName
- The name assigned to the new DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_extraJarsS3Path
- Path to one or more Java .jar
files in an S3 bucket that will be
loaded in your DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_extraPythonLibsS3Path
- The paths to one or more Python libraries in an S3 bucket that will be
loaded in your DevEndpoint
.
CreateDevEndpointResponse
, createDevEndpointResponse_failureReason
- The reason for a current failure in this DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_glueVersion
- Glue version determines the versions of Apache Spark and Python that
Glue supports. The Python version indicates the version supported for
running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
CreateDevEndpoint
, createDevEndpointResponse_numberOfNodes
- The number of Glue Data Processing Units (DPUs) allocated to this
DevEndpoint.
CreateDevEndpoint
, createDevEndpointResponse_numberOfWorkers
- The number of workers of a defined workerType
that are allocated to
the development endpoint.
CreateDevEndpoint
, createDevEndpointResponse_roleArn
- The Amazon Resource Name (ARN) of the role assigned to the new
DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_securityConfiguration
- The name of the SecurityConfiguration
structure being used with this
DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_securityGroupIds
- The security groups assigned to the new DevEndpoint
.
CreateDevEndpointResponse
, createDevEndpointResponse_status
- The current status of the new DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_subnetId
- The subnet ID assigned to the new DevEndpoint
.
CreateDevEndpointResponse
, createDevEndpointResponse_vpcId
- The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
CreateDevEndpoint
, createDevEndpointResponse_workerType
- The type of predefined worker that is allocated to the development
endpoint. May be a value of Standard, G.1X, or G.2X.
CreateDevEndpointResponse
, createDevEndpointResponse_yarnEndpointAddress
- The address of the YARN endpoint used by this DevEndpoint
.
CreateDevEndpointResponse
, createDevEndpointResponse_zeppelinRemoteSparkInterpreterPort
- The Apache Zeppelin port for the remote Apache Spark interpreter.
$sel:httpStatus:CreateDevEndpointResponse'
, createDevEndpointResponse_httpStatus
- The response's http status code.
Response Lenses
createDevEndpointResponse_arguments :: Lens' CreateDevEndpointResponse (Maybe (HashMap Text Text)) Source #
The map of arguments used to configure this 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.
createDevEndpointResponse_availabilityZone :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The Amazon Web Services Availability Zone where this DevEndpoint
is
located.
createDevEndpointResponse_createdTimestamp :: Lens' CreateDevEndpointResponse (Maybe UTCTime) Source #
The point in time at which this DevEndpoint
was created.
createDevEndpointResponse_endpointName :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The name assigned to the new DevEndpoint
.
createDevEndpointResponse_extraJarsS3Path :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
Path to one or more Java .jar
files in an S3 bucket that will be
loaded in your DevEndpoint
.
createDevEndpointResponse_extraPythonLibsS3Path :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The paths to one or more Python libraries in an S3 bucket that will be
loaded in your DevEndpoint
.
createDevEndpointResponse_failureReason :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The reason for a current failure in this DevEndpoint
.
createDevEndpointResponse_glueVersion :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
Glue version determines the versions of Apache Spark and Python that Glue supports. The Python version indicates the version supported for running your ETL scripts on development endpoints.
For more information about the available Glue versions and corresponding Spark and Python versions, see Glue version in the developer guide.
createDevEndpointResponse_numberOfNodes :: Lens' CreateDevEndpointResponse (Maybe Int) Source #
The number of Glue Data Processing Units (DPUs) allocated to this DevEndpoint.
createDevEndpointResponse_numberOfWorkers :: Lens' CreateDevEndpointResponse (Maybe Int) Source #
The number of workers of a defined workerType
that are allocated to
the development endpoint.
createDevEndpointResponse_roleArn :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the role assigned to the new
DevEndpoint
.
createDevEndpointResponse_securityConfiguration :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The name of the SecurityConfiguration
structure being used with this
DevEndpoint
.
createDevEndpointResponse_securityGroupIds :: Lens' CreateDevEndpointResponse (Maybe [Text]) Source #
The security groups assigned to the new DevEndpoint
.
createDevEndpointResponse_status :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The current status of the new DevEndpoint
.
createDevEndpointResponse_subnetId :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The subnet ID assigned to the new DevEndpoint
.
createDevEndpointResponse_vpcId :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The ID of the virtual private cloud (VPC) used by this DevEndpoint
.
createDevEndpointResponse_workerType :: Lens' CreateDevEndpointResponse (Maybe WorkerType) Source #
The type of predefined worker that is allocated to the development endpoint. May be a value of Standard, G.1X, or G.2X.
createDevEndpointResponse_yarnEndpointAddress :: Lens' CreateDevEndpointResponse (Maybe Text) Source #
The address of the YARN endpoint used by this DevEndpoint
.
createDevEndpointResponse_zeppelinRemoteSparkInterpreterPort :: Lens' CreateDevEndpointResponse (Maybe Int) Source #
The Apache Zeppelin port for the remote Apache Spark interpreter.
createDevEndpointResponse_httpStatus :: Lens' CreateDevEndpointResponse Int Source #
The response's http status code.