Class CloudFormationCallbackAdapter<T>
java.lang.Object
software.amazon.cloudformation.proxy.CloudFormationCallbackAdapter<T>
- All Implemented Interfaces:
CallbackAdapter<T>
public class CloudFormationCallbackAdapter<T> extends java.lang.Object implements CallbackAdapter<T>
-
Constructor Summary
Constructors Constructor Description CloudFormationCallbackAdapter(CloudFormationProvider cloudFormationProvider, LoggerProxy loggerProxy, Serializer serializer, software.amazon.cloudformation.resource.ResourceTypeSchema resourceTypeSchema) -
Method Summary
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(java.lang.String bearerToken, HandlerErrorCode errorCode, OperationStatus operationStatus, OperationStatus currentOperationStatus, T resourceModel, java.lang.String statusMessage)Proxies a callback to the service entity which invoked this provisioning requestMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
CloudFormationCallbackAdapter
public CloudFormationCallbackAdapter(CloudFormationProvider cloudFormationProvider, LoggerProxy loggerProxy, Serializer serializer, software.amazon.cloudformation.resource.ResourceTypeSchema resourceTypeSchema)
-
-
Method Details
-
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(java.lang.String bearerToken, HandlerErrorCode errorCode, OperationStatus operationStatus, OperationStatus currentOperationStatus, T resourceModel, java.lang.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
-