Class CloudFormationCallbackAdapter<T>
- java.lang.Object
-
- software.amazon.cloudformation.proxy.CloudFormationCallbackAdapter<T>
-
- All Implemented Interfaces:
CallbackAdapter<T>
public class CloudFormationCallbackAdapter<T> extends Object implements CallbackAdapter<T>
-
-
Constructor Summary
Constructors Constructor Description CloudFormationCallbackAdapter(CloudFormationProvider cloudFormationProvider, LoggerProxy loggerProxy, Serializer serializer, software.amazon.cloudformation.resource.ResourceTypeSchema resourceTypeSchema)
-
Method Summary
All Methods Instance Methods Concrete 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
-
-
-
Constructor Detail
-
CloudFormationCallbackAdapter
public CloudFormationCallbackAdapter(CloudFormationProvider cloudFormationProvider, LoggerProxy loggerProxy, Serializer serializer, software.amazon.cloudformation.resource.ResourceTypeSchema resourceTypeSchema)
-
-
Method Detail
-
refreshClient
public void refreshClient()
Description copied from interface:CallbackAdapterOn 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- Specified by:
refreshClientin interfaceCallbackAdapter<T>
-
reportProgress
public void reportProgress(String bearerToken, HandlerErrorCode errorCode, OperationStatus operationStatus, OperationStatus currentOperationStatus, T resourceModel, String statusMessage)
Description copied from interface:CallbackAdapterProxies a callback to the service entity which invoked this provisioning request- Specified by:
reportProgressin interfaceCallbackAdapter<T>- 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
-
-