Interface CallbackAdapter<T>
-
- All Known Implementing Classes:
CloudFormationCallbackAdapter
public interface CallbackAdapter<T>Interface used to abstract the function of reporting back provisioning progress to the handler caller
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidrefreshClient()On Lambda re-invoke we need to supply a new set of client credentials so this function must be called whenever credentials are refreshed/changed in the owning entityvoidreportProgress(String bearerToken, HandlerErrorCode errorCode, OperationStatus operationStatus, OperationStatus currentOperationStatus, T resourceModel, String statusMessage)Proxies a callback to the service entity which invoked this provisioning request
-
-
-
Method Detail
-
refreshClient
void refreshClient()
On Lambda re-invoke we need to supply a new set of client credentials so this function must be called whenever credentials are refreshed/changed in the owning entity
-
reportProgress
void reportProgress(String bearerToken, HandlerErrorCode errorCode, OperationStatus operationStatus, OperationStatus currentOperationStatus, T resourceModel, String statusMessage)
Proxies a callback to the service entity which invoked this provisioning request- Parameters:
bearerToken- unique identifier for this provisioning operationerrorCode- (optional) error code in case of faultoperationStatus- new status of provisioning operationcurrentOperationStatus- current status of provisioning operationresourceModel- the current state of the provisioned resourcestatusMessage- (optional) progress status which may be shown to end user
-
-