Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_component

delete_component(**kwargs)

Deletes a component from an Amplify app.

See also: AWS API Documentation

Request Syntax

response = client.delete_component(
    appId='string',
    environmentName='string',
    id='string'
)
Parameters
  • appId (string) --

    [REQUIRED]

    The unique ID of the Amplify app associated with the component to delete.

  • environmentName (string) --

    [REQUIRED]

    The name of the backend environment that is a part of the Amplify app.

  • id (string) --

    [REQUIRED]

    The unique ID of the component to delete.

Returns

None

Exceptions

  • AmplifyUIBuilder.Client.exceptions.InternalServerException
  • AmplifyUIBuilder.Client.exceptions.InvalidParameterException
  • AmplifyUIBuilder.Client.exceptions.ResourceNotFoundException