ConfigService / Client / delete_service_linked_configuration_recorder

delete_service_linked_configuration_recorder

ConfigService.Client.delete_service_linked_configuration_recorder(**kwargs)

Deletes an existing service-linked configuration recorder.

This operation does not delete the configuration information that was previously recorded. You will be able to access the previously recorded information by using the GetResourceConfigHistory operation, but you will not be able to access this information in the Config console until you have created a new service-linked configuration recorder for the same service.

Note

The recording scope determines if you receive configuration items

The recording scope is set by the service that is linked to the configuration recorder and determines whether you receive configuration items (CIs) in the delivery channel. If the recording scope is internal, you will not receive CIs in the delivery channel.

See also: AWS API Documentation

Request Syntax

response = client.delete_service_linked_configuration_recorder(
    ServicePrincipal='string',
    Arn='string'
)
Parameters:
  • ServicePrincipal (string) – The service principal of the Amazon Web Services service for the service-linked configuration recorder that you want to delete. This field is only supported for Amazon Web Services service principals. For third-party service-linked configuration recorders, use Arn instead.

  • Arn (string) – The Amazon Resource Name (ARN) of the service-linked configuration recorder that you want to delete. For third-party service-linked configuration recorders, you must use Arn. You must specify exactly one of Arn or ServicePrincipal.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'Name': 'string'
}

Response Structure

  • (dict) –

    • Arn (string) –

      The Amazon Resource Name (ARN) of the specified configuration recorder.

    • Name (string) –

      The name of the specified configuration recorder.

Exceptions

  • ConfigService.Client.exceptions.NoSuchConfigurationRecorderException

  • ConfigService.Client.exceptions.ValidationException

  • ConfigService.Client.exceptions.ConflictException