update_component

update_component(**kwargs)

Updates the custom component name and/or the list of resources that make up the component.

See also: AWS API Documentation

Request Syntax

response = client.update_component(
    ResourceGroupName='string',
    ComponentName='string',
    NewComponentName='string',
    ResourceList=[
        'string',
    ]
)
Parameters
  • ResourceGroupName (string) --

    [REQUIRED]

    The name of the resource group.

  • ComponentName (string) --

    [REQUIRED]

    The name of the component.

  • NewComponentName (string) -- The new name of the component.
  • ResourceList (list) --

    The list of resource ARNs that belong to the component.

    • (string) --
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • ApplicationInsights.Client.exceptions.ResourceInUseException
  • ApplicationInsights.Client.exceptions.ResourceNotFoundException
  • ApplicationInsights.Client.exceptions.ValidationException
  • ApplicationInsights.Client.exceptions.InternalServerException