UpdateSecurityProfileRequest
public struct UpdateSecurityProfileRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
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.
Declaration
Swift
public let additionalMetricsToRetainV2: [MetricToRetain]?
-
Where the alerts are sent. (Alerts are always sent to the console.)
Declaration
Swift
public let alertTargets: [AlertTargetType : AlertTarget]?
-
Specifies the behaviors that, when violated by a device (thing), cause an alert.
Declaration
Swift
public let behaviors: [Behavior]?
-
If true, delete all additionalMetricsToRetain defined for this security profile. If any additionalMetricsToRetain are defined in the current invocation, an exception occurs.
Declaration
Swift
public let deleteAdditionalMetricsToRetain: Bool?
-
If true, delete all alertTargets defined for this security profile. If any alertTargets are defined in the current invocation, an exception occurs.
Declaration
Swift
public let deleteAlertTargets: Bool?
-
If true, delete all behaviors defined for this security profile. If any behaviors are defined in the current invocation, an exception occurs.
Declaration
Swift
public let deleteBehaviors: Bool?
-
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
Swift
public let expectedVersion: Int64?
-
A description of the security profile.
Declaration
Swift
public let securityProfileDescription: String?
-
The name of the security profile you want to update.
Declaration
Swift
public let securityProfileName: String
-
init(additionalMetricsToRetainV2:alertTargets:behaviors:deleteAdditionalMetricsToRetain:deleteAlertTargets:deleteBehaviors:expectedVersion:securityProfileDescription:securityProfileName:)
Undocumented
Declaration
Swift
public init(additionalMetricsToRetainV2: [MetricToRetain]? = nil, alertTargets: [AlertTargetType : AlertTarget]? = nil, behaviors: [Behavior]? = nil, deleteAdditionalMetricsToRetain: Bool? = nil, deleteAlertTargets: Bool? = nil, deleteBehaviors: Bool? = nil, expectedVersion: Int64? = nil, securityProfileDescription: String? = nil, securityProfileName: String)
-
Declaration
Swift
public func validate(name: String) throws