ElasticsearchService / Client / delete_elasticsearch_service_role

delete_elasticsearch_service_role#

ElasticsearchService.Client.delete_elasticsearch_service_role()#

Deletes the service-linked role that Elasticsearch Service uses to manage and maintain VPC domains. Role deletion will fail if any existing VPC domains use the role. You must delete any such Elasticsearch domains before deleting the role. See Deleting Elasticsearch Service Role in VPC Endpoints for Amazon Elasticsearch Service Domains.

See also: AWS API Documentation

Request Syntax

response = client.delete_elasticsearch_service_role()
Returns:

None

Exceptions

  • ElasticsearchService.Client.exceptions.BaseException

  • ElasticsearchService.Client.exceptions.InternalException

  • ElasticsearchService.Client.exceptions.ValidationException