IoT / Client / delete_security_profile

delete_security_profile

IoT.Client.delete_security_profile(**kwargs)

Note

The IoT Device Defender detect feature will no longer be available to new customers starting August 31, 2026. If you would like to use the detect feature, sign up prior to August 31, 2026. To learn about alternatives to IoT Device Defender detect, see IoT Device Defender detect feature availability change in the IoT Device Defender Developer Guide. There is no change to IoT Device Defender audit availability.

Deletes a Device Defender security profile.

Requires permission to access the DeleteSecurityProfile action.

See also: AWS API Documentation

Request Syntax

response = client.delete_security_profile(
    securityProfileName='string',
    expectedVersion=123
)
Parameters:
  • securityProfileName (string) –

    [REQUIRED]

    The name of the security profile to be deleted.

  • expectedVersion (integer) – The expected version of the security profile. A new version is generated whenever the security profile is updated. If you specify a value that is different from the actual version, a VersionConflictException is thrown.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions