Skip to content

Commit 1acc301

Browse files
author
awstools
committed
feat(client-iot): Revert release of LogTargetTypes
1 parent cb18084 commit 1acc301

File tree

5 files changed

+4
-18
lines changed

5 files changed

+4
-18
lines changed

clients/client-iot/src/commands/DeleteV2LoggingLevelCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface DeleteV2LoggingLevelCommandOutput extends __MetadataBearer {}
3737
* // const { IoTClient, DeleteV2LoggingLevelCommand } = require("@aws-sdk/client-iot"); // CommonJS import
3838
* const client = new IoTClient(config);
3939
* const input = { // DeleteV2LoggingLevelRequest
40-
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
40+
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
4141
* targetName: "STRING_VALUE", // required
4242
* };
4343
* const command = new DeleteV2LoggingLevelCommand(input);

clients/client-iot/src/commands/ListV2LoggingLevelsCommand.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
3737
* // const { IoTClient, ListV2LoggingLevelsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
3838
* const client = new IoTClient(config);
3939
* const input = { // ListV2LoggingLevelsRequest
40-
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER",
40+
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID",
4141
* nextToken: "STRING_VALUE",
4242
* maxResults: Number("int"),
4343
* };
@@ -47,7 +47,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
4747
* // logTargetConfigurations: [ // LogTargetConfigurations
4848
* // { // LogTargetConfiguration
4949
* // logTarget: { // LogTarget
50-
* // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
50+
* // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
5151
* // targetName: "STRING_VALUE",
5252
* // },
5353
* // logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",

clients/client-iot/src/commands/SetV2LoggingLevelCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export interface SetV2LoggingLevelCommandOutput extends __MetadataBearer {}
3838
* const client = new IoTClient(config);
3939
* const input = { // SetV2LoggingLevelRequest
4040
* logTarget: { // LogTarget
41-
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
41+
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
4242
* targetName: "STRING_VALUE",
4343
* },
4444
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required

clients/client-iot/src/models/models_1.ts

-2
Original file line numberDiff line numberDiff line change
@@ -604,8 +604,6 @@ export interface DeleteTopicRuleDestinationResponse {}
604604
export const LogTargetType = {
605605
CLIENT_ID: "CLIENT_ID",
606606
DEFAULT: "DEFAULT",
607-
DEVICE_DEFENDER: "DEVICE_DEFENDER",
608-
EVENT_TYPE: "EVENT_TYPE",
609607
PRINCIPAL_ID: "PRINCIPAL_ID",
610608
SOURCE_IP: "SOURCE_IP",
611609
THING_GROUP: "THING_GROUP",

codegen/sdk-codegen/aws-models/iot.json

-12
Original file line numberDiff line numberDiff line change
@@ -25786,18 +25786,6 @@
2578625786
"traits": {
2578725787
"smithy.api#enumValue": "PRINCIPAL_ID"
2578825788
}
25789-
},
25790-
"EVENT_TYPE": {
25791-
"target": "smithy.api#Unit",
25792-
"traits": {
25793-
"smithy.api#enumValue": "EVENT_TYPE"
25794-
}
25795-
},
25796-
"DEVICE_DEFENDER": {
25797-
"target": "smithy.api#Unit",
25798-
"traits": {
25799-
"smithy.api#enumValue": "DEVICE_DEFENDER"
25800-
}
2580125789
}
2580225790
}
2580325791
},

0 commit comments

Comments
 (0)