EC2 / Client / delete_vpc_endpoint_service_configurations



Deletes the specified VPC endpoint service configurations. Before you can delete an endpoint service configuration, you must reject any Available or PendingAcceptance interface endpoint connections that are attached to the service.

See also: AWS API Documentation

Request Syntax

response = client.delete_vpc_endpoint_service_configurations(
  • DryRun (boolean) – Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

  • ServiceIds (list) –


    The IDs of the services.

    • (string) –

Return type:



Response Syntax

    'Unsuccessful': [
            'Error': {
                'Code': 'string',
                'Message': 'string'
            'ResourceId': 'string'

Response Structure

  • (dict) –

    • Unsuccessful (list) –

      Information about the service configurations that were not deleted, if applicable.

      • (dict) –

        Information about items that were not successfully processed in a batch call.

        • Error (dict) –

          Information about the error.

          • Code (string) –

            The error code.

          • Message (string) –

            The error message accompanying the error code.

        • ResourceId (string) –

          The ID of the resource.