Skip to content

Commit

Permalink
feat(client-iot): Revert release of LogTargetTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 16, 2024
1 parent cb18084 commit 1acc301
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface DeleteV2LoggingLevelCommandOutput extends __MetadataBearer {}
* // const { IoTClient, DeleteV2LoggingLevelCommand } = require("@aws-sdk/client-iot"); // CommonJS import
* const client = new IoTClient(config);
* const input = { // DeleteV2LoggingLevelRequest
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
* targetName: "STRING_VALUE", // required
* };
* const command = new DeleteV2LoggingLevelCommand(input);
Expand Down
4 changes: 2 additions & 2 deletions clients/client-iot/src/commands/ListV2LoggingLevelsCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
* // const { IoTClient, ListV2LoggingLevelsCommand } = require("@aws-sdk/client-iot"); // CommonJS import
* const client = new IoTClient(config);
* const input = { // ListV2LoggingLevelsRequest
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER",
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID",
* nextToken: "STRING_VALUE",
* maxResults: Number("int"),
* };
Expand All @@ -47,7 +47,7 @@ export interface ListV2LoggingLevelsCommandOutput extends ListV2LoggingLevelsRes
* // logTargetConfigurations: [ // LogTargetConfigurations
* // { // LogTargetConfiguration
* // logTarget: { // LogTarget
* // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
* // targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
* // targetName: "STRING_VALUE",
* // },
* // logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export interface SetV2LoggingLevelCommandOutput extends __MetadataBearer {}
* const client = new IoTClient(config);
* const input = { // SetV2LoggingLevelRequest
* logTarget: { // LogTarget
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID" || "EVENT_TYPE" || "DEVICE_DEFENDER", // required
* targetType: "DEFAULT" || "THING_GROUP" || "CLIENT_ID" || "SOURCE_IP" || "PRINCIPAL_ID", // required
* targetName: "STRING_VALUE",
* },
* logLevel: "DEBUG" || "INFO" || "ERROR" || "WARN" || "DISABLED", // required
Expand Down
2 changes: 0 additions & 2 deletions clients/client-iot/src/models/models_1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -604,8 +604,6 @@ export interface DeleteTopicRuleDestinationResponse {}
export const LogTargetType = {
CLIENT_ID: "CLIENT_ID",
DEFAULT: "DEFAULT",
DEVICE_DEFENDER: "DEVICE_DEFENDER",
EVENT_TYPE: "EVENT_TYPE",
PRINCIPAL_ID: "PRINCIPAL_ID",
SOURCE_IP: "SOURCE_IP",
THING_GROUP: "THING_GROUP",
Expand Down
12 changes: 0 additions & 12 deletions codegen/sdk-codegen/aws-models/iot.json
Original file line number Diff line number Diff line change
Expand Up @@ -25786,18 +25786,6 @@
"traits": {
"smithy.api#enumValue": "PRINCIPAL_ID"
}
},
"EVENT_TYPE": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "EVENT_TYPE"
}
},
"DEVICE_DEFENDER": {
"target": "smithy.api#Unit",
"traits": {
"smithy.api#enumValue": "DEVICE_DEFENDER"
}
}
}
},
Expand Down

0 comments on commit 1acc301

Please sign in to comment.