create_managed_endpoint
¶
create_managed_endpoint(
name: ResourceNameString,
virtual_cluster_id: ResourceIdString,
type: EndpointType,
release_label: ReleaseLabel,
execution_role_arn: IAMRoleArn,
client_token: ClientToken,
*,
config_overrides: Optional[EMRcontainersClientConfig] = None,
certificate_arn: Optional[ACMCertArn] = None,
configuration_overrides: Optional[ConfigurationOverrides] = None,
tags: Optional[TagMap] = None,
session_idle_timeout_in_minutes: Optional[SessionIdleTimeoutInMinutes] = None,
) -> CreateManagedEndpointResponse
Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
Parameters:
-
name(ResourceNameString) –The name of the managed endpoint.
-
virtual_cluster_id(ResourceIdString) –The ID of the virtual cluster for which a managed endpoint is created.
-
type(EndpointType) –The type of the managed endpoint.
-
release_label(ReleaseLabel) –The Amazon EMR release version.
-
execution_role_arn(IAMRoleArn) –The ARN of the execution role.
-
certificate_arn(Optional[ACMCertArn], default:None) –The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be removed in future releases.
-
configuration_overrides(Optional[ConfigurationOverrides], default:None) –The configuration settings that will be used to override existing configurations.
-
client_token(ClientToken) –The client idempotency token for this create call.
-
tags(Optional[TagMap], default:None) –The tags of the managed endpoint.
-
session_idle_timeout_in_minutes(Optional[SessionIdleTimeoutInMinutes], default:None) –The number of idle minutes before the managed endpoint session times out.
Raises:
-
InternalServerException–This is an internal server exception.
-
ResourceNotFoundException–The specified resource was not found.
-
ValidationException–There are invalid parameters in the client request.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_emr_containers/_services/em_rcontainers.py
356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 | |