AWS SDK Version 4 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Container for the parameters to the DeleteSecurityProfile operation.

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.DeleteSecurityProfileRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class DeleteSecurityProfileRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The DeleteSecurityProfileRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property ExpectedVersion System.Nullable<System.Int64>

Gets and sets the property ExpectedVersion.

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.

Public Property SecurityProfileName System.String

Gets and sets the property SecurityProfileName.

The name of the security profile to be deleted.

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.7.2 and newer