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 UpdateSecurityProfile operation. Updates a Device Defender security profile.
Requires permission to access the UpdateSecurityProfile action.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class UpdateSecurityProfileRequest : AmazonIoTRequest IAmazonWebServiceRequest
The UpdateSecurityProfileRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
UpdateSecurityProfileRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
AdditionalMetricsToRetain | System.Collections.Generic.List<System.String> |
Gets and sets the property AdditionalMetricsToRetain. Please use UpdateSecurityProfileRequest$additionalMetricsToRetainV2 instead.
A list of metrics whose data is retained (stored). By default, data is retained for
any metric used in the profile's |
![]() |
AdditionalMetricsToRetainV2 | System.Collections.Generic.List<Amazon.IoT.Model.MetricToRetain> |
Gets and sets the property AdditionalMetricsToRetainV2. A list of metrics whose data is retained (stored). By default, data is retained for any metric used in the profile's behaviors, but it is also retained for any metric specified here. Can be used with custom metrics; cannot be used with dimensions. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
AlertTargets | System.Collections.Generic.Dictionary<System.String, Amazon.IoT.Model.AlertTarget> |
Gets and sets the property AlertTargets. Where the alerts are sent. (Alerts are always sent to the console.) Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
Behaviors | System.Collections.Generic.List<Amazon.IoT.Model.Behavior> |
Gets and sets the property Behaviors. Specifies the behaviors that, when violated by a device (thing), cause an alert. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
![]() |
DeleteAdditionalMetricsToRetain | System.Nullable<System.Boolean> |
Gets and sets the property DeleteAdditionalMetricsToRetain.
If true, delete all |
![]() |
DeleteAlertTargets | System.Nullable<System.Boolean> |
Gets and sets the property DeleteAlertTargets.
If true, delete all |
![]() |
DeleteBehaviors | System.Nullable<System.Boolean> |
Gets and sets the property DeleteBehaviors.
If true, delete all |
![]() |
DeleteMetricsExportConfig | System.Nullable<System.Boolean> |
Gets and sets the property DeleteMetricsExportConfig. Set the value as true to delete metrics export related configurations. |
![]() |
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 |
![]() |
MetricsExportConfig | Amazon.IoT.Model.MetricsExportConfig |
Gets and sets the property MetricsExportConfig. Specifies the MQTT topic and role ARN required for metric export. |
![]() |
SecurityProfileDescription | System.String |
Gets and sets the property SecurityProfileDescription. A description of the security profile. |
![]() |
SecurityProfileName | System.String |
Gets and sets the property SecurityProfileName. The name of the security profile you want to update. |
.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