Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support
Skip to main content
Class object representing a UpsertProgramFailure. Not 3P facing object even though exported - not exported from index.ts

Implements

Constructors

new UpsertProgramFailure()

new UpsertProgramFailure(program, error): UpsertProgramFailure Constructor function called for initialization of a UpsertProgramFailure.

Parameters

program
IProgram
error
BaseError

Returns

UpsertProgramFailure

Accessors

error

Get Signature

get error(): BaseError Gets the error that caused the failure adding the program.
Returns
BaseError The error encountered when adding the program.

Implementation of

IUpsertProgramFailure.error

program

Get Signature

get program(): IProgram Gets the Program object that failed to be added.
Returns
IProgram The IProgram which failed to be added to the data store

Implementation of

IUpsertProgramFailure.program
Last modified on September 30, 2025