Skip to content

Commit 69d7909

Browse files
author
AWS
committed
AWS IoT Update: This release adds event-based logging feature that enables granular event logging controls for AWS IoT logs.
1 parent ca91737 commit 69d7909

File tree

2 files changed

+58
-2
lines changed

2 files changed

+58
-2
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "AWS IoT",
4+
"contributor": "",
5+
"description": "This release adds event-based logging feature that enables granular event logging controls for AWS IoT logs."
6+
}

services/iot/src/main/resources/codegen-resources/service-2.json

Lines changed: 52 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13063,7 +13063,14 @@
1306313063
},
1306413064
"GetV2LoggingOptionsRequest":{
1306513065
"type":"structure",
13066-
"members":{}
13066+
"members":{
13067+
"verbose":{
13068+
"shape":"VerboseFlag",
13069+
"documentation":"<p> The flag is used to get all the event types and their respective configuration that event-based logging supports. </p>",
13070+
"location":"querystring",
13071+
"locationName":"verbose"
13072+
}
13073+
}
1306713074
},
1306813075
"GetV2LoggingOptionsResponse":{
1306913076
"type":"structure",
@@ -13079,6 +13086,10 @@
1307913086
"disableAllLogs":{
1308013087
"shape":"DisableAllLogs",
1308113088
"documentation":"<p>Disables all logs.</p>"
13089+
},
13090+
"eventConfigurations":{
13091+
"shape":"LogEventConfigurations",
13092+
"documentation":"<p> The list of event configurations that override account-level logging. </p>"
1308213093
}
1308313094
}
1308413095
},
@@ -13137,7 +13148,7 @@
1313713148
},
1313813149
"batchConfig":{
1313913150
"shape":"BatchConfig",
13140-
"documentation":"<p>The configuration settings for batching. For more information, see <a href=\"/iot/latest/developerguide/http_batching.html\">Batching HTTP action messages</a>.</p>"
13151+
"documentation":"<p>The configuration settings for batching. For more information, see <a href=\"https://docs.aws.amazon.com/iot/latest/developerguide/http_batching.html\"> Batching HTTP action messages</a>.</p>"
1314113152
}
1314213153
},
1314313154
"documentation":"<p>Send data to an HTTPS endpoint.</p>"
@@ -16898,6 +16909,40 @@
1689816909
},
1689916910
"documentation":"<p>Describes how to interpret an application-defined timestamp value from an MQTT message payload and the precision of that value.</p>"
1690016911
},
16912+
"LogDestination":{
16913+
"type":"string",
16914+
"max":512,
16915+
"min":1,
16916+
"pattern":"^[.\\-_/#A-Za-z0-9]+$"
16917+
},
16918+
"LogEventConfiguration":{
16919+
"type":"structure",
16920+
"required":["eventType"],
16921+
"members":{
16922+
"eventType":{
16923+
"shape":"LogEventType",
16924+
"documentation":"<p> The type of event to log. These include event types like Connect, Publish, and Disconnect. </p>"
16925+
},
16926+
"logLevel":{
16927+
"shape":"LogLevel",
16928+
"documentation":"<p> The logging level for the specified event type. Determines the verbosity of log messages generated for this event type. </p>"
16929+
},
16930+
"logDestination":{
16931+
"shape":"LogDestination",
16932+
"documentation":"<p> CloudWatch Log Group for event-based logging. Specifies where log events should be sent. The log destination for event-based logging overrides default Log Group for the specified event type and applies to all resources associated with that event. </p>"
16933+
}
16934+
},
16935+
"documentation":"<p> Configuration for event-based logging that specifies which event types to log and their logging settings. Used for account-level logging overrides. </p>"
16936+
},
16937+
"LogEventConfigurations":{
16938+
"type":"list",
16939+
"member":{"shape":"LogEventConfiguration"}
16940+
},
16941+
"LogEventType":{
16942+
"type":"string",
16943+
"max":512,
16944+
"min":1
16945+
},
1690116946
"LogGroupName":{"type":"string"},
1690216947
"LogLevel":{
1690316948
"type":"string",
@@ -19474,6 +19519,10 @@
1947419519
"disableAllLogs":{
1947519520
"shape":"DisableAllLogs",
1947619521
"documentation":"<p>If true all logs are disabled. The default is false.</p>"
19522+
},
19523+
"eventConfigurations":{
19524+
"shape":"LogEventConfigurations",
19525+
"documentation":"<p> The list of event configurations that override account-level logging. </p>"
1947719526
}
1947819527
}
1947919528
},
@@ -22503,6 +22552,7 @@
2250322552
"pattern":"[\\s\\S]*"
2250422553
},
2250522554
"Variance":{"type":"double"},
22555+
"VerboseFlag":{"type":"boolean"},
2250622556
"VerificationState":{
2250722557
"type":"string",
2250822558
"enum":[

0 commit comments

Comments
 (0)