/security-profiles/{securityProfileName}
The AWS IoT Wireless multi-region endpoint
https://api.iotwireless.{region}.amazonaws.com
The AWS IoT Wireless multi-region endpoint
https://api.iotwireless.{region}.amazonaws.com
POST
/security-profiles/{securityProfileName}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.iotwireless.{region}.amazonaws.com/security-profiles/' \
--header 'Content-Type: application/json' \
--data-raw '{
"securityProfileDescription": "string",
"behaviors": [
{
"name": "string",
"metric": "string",
"metricDimension": {
"dimensionName": "string",
"operator": "IN"
},
"criteria": {
"comparisonOperator": "less-than",
"value": {
"count": 0,
"cidrs": [],
"ports": [],
"number": 0,
"numbers": [],
"strings": []
},
"durationSeconds": 0,
"consecutiveDatapointsToAlarm": 0,
"consecutiveDatapointsToClear": 0,
"statisticalThreshold": {
"statistic": "string"
},
"mlDetectionConfig": {
"confidenceLevel": "LOW"
}
},
"suppressAlerts": true
}
],
"alertTargets": {
"property1": {
"alertTargetArn": "string",
"roleArn": "string"
}
},
"additionalMetricsToRetain": [
"string"
],
"additionalMetricsToRetainV2": [
{
"metric": "string",
"metricDimension": {}
}
],
"tags": [
{
"Key": "string",
"Value": "string"
}
]
}'
Response Response Example
200 - Example 1
{
"securityProfileName": "string",
"securityProfileArn": "string"
}
Request
Path Params
securityProfileName
stringÂ
required
Body Params application/json
Responses
Modified at 2022-09-10 23:12:14