Jump to Content

This API Documentation is now deprecated

We are excited to announce our new API Documentation.

Class UpdateInferenceSchedulerCommandProtected

Updates an inference scheduler.

Example

Use a bare-bones client and the command you need to make an API call.

import { LookoutEquipmentClient, UpdateInferenceSchedulerCommand } from "@aws-sdk/client-lookoutequipment"; // ES Modules import
// const { LookoutEquipmentClient, UpdateInferenceSchedulerCommand } = require("@aws-sdk/client-lookoutequipment"); // CommonJS import
const client = new LookoutEquipmentClient(config);
const input = { // UpdateInferenceSchedulerRequest
InferenceSchedulerName: "STRING_VALUE", // required
DataDelayOffsetInMinutes: Number("long"),
DataUploadFrequency: "PT5M" || "PT10M" || "PT15M" || "PT30M" || "PT1H",
DataInputConfiguration: { // InferenceInputConfiguration
S3InputConfiguration: { // InferenceS3InputConfiguration
Bucket: "STRING_VALUE", // required
Prefix: "STRING_VALUE",
},
InputTimeZoneOffset: "STRING_VALUE",
InferenceInputNameConfiguration: { // InferenceInputNameConfiguration
TimestampFormat: "STRING_VALUE",
ComponentTimestampDelimiter: "STRING_VALUE",
},
},
DataOutputConfiguration: { // InferenceOutputConfiguration
S3OutputConfiguration: { // InferenceS3OutputConfiguration
Bucket: "STRING_VALUE", // required
Prefix: "STRING_VALUE",
},
KmsKeyId: "STRING_VALUE",
},
RoleArn: "STRING_VALUE",
};
const command = new UpdateInferenceSchedulerCommand(input);
const response = await client.send(command);
// {};

Param

UpdateInferenceSchedulerCommandInput

Returns

UpdateInferenceSchedulerCommandOutput

See

Throws

AccessDeniedException (client fault)

The request could not be completed because you do not have access to the resource.

Throws

ConflictException (client fault)

The request could not be completed due to a conflict with the current state of the target resource.

Throws

InternalServerException (server fault)

Processing of the request has failed because of an unknown error, exception or failure.

Throws

ResourceNotFoundException (client fault)

The resource requested could not be found. Verify the resource ID and retry your request.

Throws

ThrottlingException (client fault)

The request was denied due to request throttling.

Throws

ValidationException (client fault)

The input fails to satisfy constraints specified by Amazon Lookout for Equipment or a related Amazon Web Services service that's being utilized.

Throws

LookoutEquipmentServiceException

Base exception class for all service exceptions from LookoutEquipment service.

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

Methods