AWSIoTUpdateSecurityProfileRequest

Objective-C

@interface AWSIoTUpdateSecurityProfileRequest

Swift

class AWSIoTUpdateSecurityProfileRequest
  • 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 behaviors, but it is also retained for any metric specified here. Can be used with custom metrics; cannot be used with dimensions.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable additionalMetricsToRetain;

    Swift

    var additionalMetricsToRetain: [String]? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTMetricToRetain *> *_Nullable additionalMetricsToRetainV2;

    Swift

    var additionalMetricsToRetainV2: [AWSIoTMetricToRetain]? { get set }
  • Where the alerts are sent. (Alerts are always sent to the console.)

    Declaration

    Objective-C

    @property (nonatomic, strong) NSDictionary<NSString *, AWSIoTAlertTarget *> *_Nullable alertTargets;

    Swift

    var alertTargets: [String : AWSIoTAlertTarget]? { get set }
  • Specifies the behaviors that, when violated by a device (thing), cause an alert.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<AWSIoTBehavior *> *_Nullable behaviors;

    Swift

    var behaviors: [AWSIoTBehavior]? { get set }
  • If true, delete all additionalMetricsToRetain defined for this security profile. If any additionalMetricsToRetain are defined in the current invocation, an exception occurs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable deleteAdditionalMetricsToRetain;

    Swift

    var deleteAdditionalMetricsToRetain: NSNumber? { get set }
  • If true, delete all alertTargets defined for this security profile. If any alertTargets are defined in the current invocation, an exception occurs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable deleteAlertTargets;

    Swift

    var deleteAlertTargets: NSNumber? { get set }
  • If true, delete all behaviors defined for this security profile. If any behaviors are defined in the current invocation, an exception occurs.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable deleteBehaviors;

    Swift

    var deleteBehaviors: NSNumber? { get set }
  • Set the value as true to delete metrics export related configurations.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable deleteMetricsExportConfig;

    Swift

    var deleteMetricsExportConfig: NSNumber? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable expectedVersion;

    Swift

    var expectedVersion: NSNumber? { get set }
  • Specifies the MQTT topic and role ARN required for metric export.

    Declaration

    Objective-C

    @property (nonatomic, strong) AWSIoTMetricsExportConfig *_Nullable metricsExportConfig;

    Swift

    var metricsExportConfig: AWSIoTMetricsExportConfig? { get set }
  • A description of the security profile.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable securityProfileDescription;

    Swift

    var securityProfileDescription: String? { get set }
  • The name of the security profile you want to update.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable securityProfileName;

    Swift

    var securityProfileName: String? { get set }