import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types" ; import { CreateReplicationSetCommand , CreateReplicationSetCommandInput , CreateReplicationSetCommandOutput , } from "./commands/CreateReplicationSetCommand" ; import { CreateResponsePlanCommand , CreateResponsePlanCommandInput , CreateResponsePlanCommandOutput , } from "./commands/CreateResponsePlanCommand" ; import { CreateTimelineEventCommand , CreateTimelineEventCommandInput , CreateTimelineEventCommandOutput , } from "./commands/CreateTimelineEventCommand" ; import { DeleteIncidentRecordCommand , DeleteIncidentRecordCommandInput , DeleteIncidentRecordCommandOutput , } from "./commands/DeleteIncidentRecordCommand" ; import { DeleteReplicationSetCommand , DeleteReplicationSetCommandInput , DeleteReplicationSetCommandOutput , } from "./commands/DeleteReplicationSetCommand" ; import { DeleteResourcePolicyCommand , DeleteResourcePolicyCommandInput , DeleteResourcePolicyCommandOutput , } from "./commands/DeleteResourcePolicyCommand" ; import { DeleteResponsePlanCommand , DeleteResponsePlanCommandInput , DeleteResponsePlanCommandOutput , } from "./commands/DeleteResponsePlanCommand" ; import { DeleteTimelineEventCommand , DeleteTimelineEventCommandInput , DeleteTimelineEventCommandOutput , } from "./commands/DeleteTimelineEventCommand" ; import { GetIncidentRecordCommand , GetIncidentRecordCommandInput , GetIncidentRecordCommandOutput , } from "./commands/GetIncidentRecordCommand" ; import { GetReplicationSetCommand , GetReplicationSetCommandInput , GetReplicationSetCommandOutput , } from "./commands/GetReplicationSetCommand" ; import { GetResourcePoliciesCommand , GetResourcePoliciesCommandInput , GetResourcePoliciesCommandOutput , } from "./commands/GetResourcePoliciesCommand" ; import { GetResponsePlanCommand , GetResponsePlanCommandInput , GetResponsePlanCommandOutput , } from "./commands/GetResponsePlanCommand" ; import { GetTimelineEventCommand , GetTimelineEventCommandInput , GetTimelineEventCommandOutput , } from "./commands/GetTimelineEventCommand" ; import { ListIncidentRecordsCommand , ListIncidentRecordsCommandInput , ListIncidentRecordsCommandOutput , } from "./commands/ListIncidentRecordsCommand" ; import { ListRelatedItemsCommand , ListRelatedItemsCommandInput , ListRelatedItemsCommandOutput , } from "./commands/ListRelatedItemsCommand" ; import { ListReplicationSetsCommand , ListReplicationSetsCommandInput , ListReplicationSetsCommandOutput , } from "./commands/ListReplicationSetsCommand" ; import { ListResponsePlansCommand , ListResponsePlansCommandInput , ListResponsePlansCommandOutput , } from "./commands/ListResponsePlansCommand" ; import { ListTagsForResourceCommand , ListTagsForResourceCommandInput , ListTagsForResourceCommandOutput , } from "./commands/ListTagsForResourceCommand" ; import { ListTimelineEventsCommand , ListTimelineEventsCommandInput , ListTimelineEventsCommandOutput , } from "./commands/ListTimelineEventsCommand" ; import { PutResourcePolicyCommand , PutResourcePolicyCommandInput , PutResourcePolicyCommandOutput , } from "./commands/PutResourcePolicyCommand" ; import { StartIncidentCommand , StartIncidentCommandInput , StartIncidentCommandOutput , } from "./commands/StartIncidentCommand" ; import { TagResourceCommand , TagResourceCommandInput , TagResourceCommandOutput } from "./commands/TagResourceCommand" ; import { UntagResourceCommand , UntagResourceCommandInput , UntagResourceCommandOutput , } from "./commands/UntagResourceCommand" ; import { UpdateDeletionProtectionCommand , UpdateDeletionProtectionCommandInput , UpdateDeletionProtectionCommandOutput , } from "./commands/UpdateDeletionProtectionCommand" ; import { UpdateIncidentRecordCommand , UpdateIncidentRecordCommandInput , UpdateIncidentRecordCommandOutput , } from "./commands/UpdateIncidentRecordCommand" ; import { UpdateRelatedItemsCommand , UpdateRelatedItemsCommandInput , UpdateRelatedItemsCommandOutput , } from "./commands/UpdateRelatedItemsCommand" ; import { UpdateReplicationSetCommand , UpdateReplicationSetCommandInput , UpdateReplicationSetCommandOutput , } from "./commands/UpdateReplicationSetCommand" ; import { UpdateResponsePlanCommand , UpdateResponsePlanCommandInput , UpdateResponsePlanCommandOutput , } from "./commands/UpdateResponsePlanCommand" ; import { UpdateTimelineEventCommand , UpdateTimelineEventCommandInput , UpdateTimelineEventCommandOutput , } from "./commands/UpdateTimelineEventCommand" ; import { SSMIncidentsClient } from "./SSMIncidentsClient" ; /**
 * <p>Systems Manager Incident Manager is an incident management console designed to help users
 *       mitigate and recover from incidents affecting their Amazon Web Services-hosted applications. An
 *       incident is any unplanned interruption or reduction in quality of services. </p>
 *          <p>Incident Manager increases incident resolution by notifying responders of impact,
 *       highlighting relevant troubleshooting data, and providing collaboration tools to get services
 *       back up and running. To achieve the primary goal of reducing the time-to-resolution of
 *       critical incidents, Incident Manager automates response plans and enables responder
 *       team escalation. </p>
 */ export class SSMIncidents extends SSMIncidentsClient { /**
     * <p>A replication set replicates and encrypts your data to the provided Regions with the
     *             provided KMS key. </p>
     */ public createReplicationSet ( args , options ? ) ; public createReplicationSet ( args , cb ) ; public createReplicationSet ( args , options , cb ) ; public createReplicationSet ( args , optionsOrCb ? , cb ? ) { const command = new CreateReplicationSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a response plan that automates the initial response to incidents. A response
     *             plan engages contacts, starts chat channel collaboration, and initiates runbooks at the
     *             beginning of an incident.</p>
     */ public createResponsePlan ( args , options ? ) ; public createResponsePlan ( args , cb ) ; public createResponsePlan ( args , options , cb ) ; public createResponsePlan ( args , optionsOrCb ? , cb ? ) { const command = new CreateResponsePlanCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Creates a custom timeline event on the incident details page of an incident record.
     *             Timeline events are automatically created by Incident Manager, marking key moment during an
     *             incident. You can create custom timeline events to mark important events that are
     *             automatically detected by Incident Manager.</p>
     */ public createTimelineEvent ( args , options ? ) ; public createTimelineEvent ( args , cb ) ; public createTimelineEvent ( args , options , cb ) ; public createTimelineEvent ( args , optionsOrCb ? , cb ? ) { const command = new CreateTimelineEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Delete an incident record from Incident Manager. </p>
     */ public deleteIncidentRecord ( args , options ? ) ; public deleteIncidentRecord ( args , cb ) ; public deleteIncidentRecord ( args , options , cb ) ; public deleteIncidentRecord ( args , optionsOrCb ? , cb ? ) { const command = new DeleteIncidentRecordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes all Regions in your replication set. Deleting the replication set deletes all
     *             Incident Manager data.</p>
     */ public deleteReplicationSet ( args , options ? ) ; public deleteReplicationSet ( args , cb ) ; public deleteReplicationSet ( args , options , cb ) ; public deleteReplicationSet ( args , optionsOrCb ? , cb ? ) { const command = new DeleteReplicationSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the resource policy that Resource Access Manager uses to share your Incident Manager
     *             resource.</p>
     */ public deleteResourcePolicy ( args , options ? ) ; public deleteResourcePolicy ( args , cb ) ; public deleteResourcePolicy ( args , options , cb ) ; public deleteResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes the specified response plan. Deleting a response plan stops all linked CloudWatch alarms and EventBridge events from creating an incident with this
     *             response plan.</p>
     */ public deleteResponsePlan ( args , options ? ) ; public deleteResponsePlan ( args , cb ) ; public deleteResponsePlan ( args , options , cb ) ; public deleteResponsePlan ( args , optionsOrCb ? , cb ? ) { const command = new DeleteResponsePlanCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Deletes a timeline event from an incident.</p>
     */ public deleteTimelineEvent ( args , options ? ) ; public deleteTimelineEvent ( args , cb ) ; public deleteTimelineEvent ( args , options , cb ) ; public deleteTimelineEvent ( args , optionsOrCb ? , cb ? ) { const command = new DeleteTimelineEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Returns the details for the specified incident record.</p>
     */ public getIncidentRecord ( args , options ? ) ; public getIncidentRecord ( args , cb ) ; public getIncidentRecord ( args , options , cb ) ; public getIncidentRecord ( args , optionsOrCb ? , cb ? ) { const command = new GetIncidentRecordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieve your Incident Manager replication set.</p>
     */ public getReplicationSet ( args , options ? ) ; public getReplicationSet ( args , cb ) ; public getReplicationSet ( args , options , cb ) ; public getReplicationSet ( args , optionsOrCb ? , cb ? ) { const command = new GetReplicationSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the resource policies attached to the specified response plan.</p>
     */ public getResourcePolicies ( args , options ? ) ; public getResourcePolicies ( args , cb ) ; public getResourcePolicies ( args , options , cb ) ; public getResourcePolicies ( args , optionsOrCb ? , cb ? ) { const command = new GetResourcePoliciesCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves the details of the specified response plan.</p>
     */ public getResponsePlan ( args , options ? ) ; public getResponsePlan ( args , cb ) ; public getResponsePlan ( args , options , cb ) ; public getResponsePlan ( args , optionsOrCb ? , cb ? ) { const command = new GetResponsePlanCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Retrieves a timeline event based on its ID and incident record.</p>
     */ public getTimelineEvent ( args , options ? ) ; public getTimelineEvent ( args , cb ) ; public getTimelineEvent ( args , options , cb ) ; public getTimelineEvent ( args , optionsOrCb ? , cb ? ) { const command = new GetTimelineEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all incident records in your account. Use this command to retrieve the Amazon
     *             Resource Name (ARN) of the incident record you want to update. </p>
     */ public listIncidentRecords ( args , options ? ) ; public listIncidentRecords ( args , cb ) ; public listIncidentRecords ( args , options , cb ) ; public listIncidentRecords ( args , optionsOrCb ? , cb ? ) { const command = new ListIncidentRecordsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>List all related items for an incident record.</p>
     */ public listRelatedItems ( args , options ? ) ; public listRelatedItems ( args , cb ) ; public listRelatedItems ( args , options , cb ) ; public listRelatedItems ( args , optionsOrCb ? , cb ? ) { const command = new ListRelatedItemsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists details about the replication set configured in your account. </p>
     */ public listReplicationSets ( args , options ? ) ; public listReplicationSets ( args , cb ) ; public listReplicationSets ( args , options , cb ) ; public listReplicationSets ( args , optionsOrCb ? , cb ? ) { const command = new ListReplicationSetsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists all response plans in your account.</p>
     */ public listResponsePlans ( args , options ? ) ; public listResponsePlans ( args , cb ) ; public listResponsePlans ( args , options , cb ) ; public listResponsePlans ( args , optionsOrCb ? , cb ? ) { const command = new ListResponsePlansCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists the tags that are attached to the specified response plan.</p>
     */ public listTagsForResource ( args , options ? ) ; public listTagsForResource ( args , cb ) ; public listTagsForResource ( args , options , cb ) ; public listTagsForResource ( args , optionsOrCb ? , cb ? ) { const command = new ListTagsForResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Lists timeline events for the specified incident record.</p>
     */ public listTimelineEvents ( args , options ? ) ; public listTimelineEvents ( args , cb ) ; public listTimelineEvents ( args , options , cb ) ; public listTimelineEvents ( args , optionsOrCb ? , cb ? ) { const command = new ListTimelineEventsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds a resource policy to the specified response plan.</p>
     */ public putResourcePolicy ( args , options ? ) ; public putResourcePolicy ( args , cb ) ; public putResourcePolicy ( args , options , cb ) ; public putResourcePolicy ( args , optionsOrCb ? , cb ? ) { const command = new PutResourcePolicyCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Used to start an incident from CloudWatch alarms, EventBridge events, or
     *             manually. </p>
     */ public startIncident ( args , options ? ) ; public startIncident ( args , cb ) ; public startIncident ( args , options , cb ) ; public startIncident ( args , optionsOrCb ? , cb ? ) { const command = new StartIncidentCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Adds a tag to a response plan.</p>
     */ public tagResource ( args , options ? ) ; public tagResource ( args , cb ) ; public tagResource ( args , options , cb ) ; public tagResource ( args , optionsOrCb ? , cb ? ) { const command = new TagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Removes a tag from a resource.</p>
     */ public untagResource ( args , options ? ) ; public untagResource ( args , cb ) ; public untagResource ( args , options , cb ) ; public untagResource ( args , optionsOrCb ? , cb ? ) { const command = new UntagResourceCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update deletion protection to either allow or deny deletion of the final Region in a
     *             replication set.</p>
     */ public updateDeletionProtection ( args , options ? ) ; public updateDeletionProtection ( args , cb ) ; public updateDeletionProtection ( args , options , cb ) ; public updateDeletionProtection ( args , optionsOrCb ? , cb ? ) { const command = new UpdateDeletionProtectionCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Update the details of an incident record. You can use this operation to update an
     *             incident record from the defined chat channel. For more information about using actions
     *             in chat channels, see <a href="https://docs.aws.amazon.com/incident-manager/latest/userguide/chat.html#chat-interact">Interacting through chat</a>.</p>
     */ public updateIncidentRecord ( args , options ? ) ; public updateIncidentRecord ( args , cb ) ; public updateIncidentRecord ( args , options , cb ) ; public updateIncidentRecord ( args , optionsOrCb ? , cb ? ) { const command = new UpdateIncidentRecordCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Add or remove related items from the related items tab of an incident record.</p>
     */ public updateRelatedItems ( args , options ? ) ; public updateRelatedItems ( args , cb ) ; public updateRelatedItems ( args , options , cb ) ; public updateRelatedItems ( args , optionsOrCb ? , cb ? ) { const command = new UpdateRelatedItemsCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Add or delete Regions from your replication set.</p>
     */ public updateReplicationSet ( args , options ? ) ; public updateReplicationSet ( args , cb ) ; public updateReplicationSet ( args , options , cb ) ; public updateReplicationSet ( args , optionsOrCb ? , cb ? ) { const command = new UpdateReplicationSetCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates the specified response plan.</p>
     */ public updateResponsePlan ( args , options ? ) ; public updateResponsePlan ( args , cb ) ; public updateResponsePlan ( args , options , cb ) ; public updateResponsePlan ( args , optionsOrCb ? , cb ? ) { const command = new UpdateResponsePlanCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } /**
     * <p>Updates a timeline event. You can update events of type <code>Custom
     *             Event</code>.</p>
     */ public updateTimelineEvent ( args , options ? ) ; public updateTimelineEvent ( args , cb ) ; public updateTimelineEvent ( args , options , cb ) ; public updateTimelineEvent ( args , optionsOrCb ? , cb ? ) { const command = new UpdateTimelineEventCommand ( args ) ; if ( typeof optionsOrCb === "function" ) { this . send ( command , optionsOrCb ) ; } else if ( typeof cb === "function" ) { if ( typeof optionsOrCb !== "object" ) throw new Error ( `Expect http options but get ${ typeof optionsOrCb }` ) ; this . send ( command , optionsOrCb || { } , cb ) ; } else { return this . send ( command , optionsOrCb ) ; } } }