Class CloudFormationCallbackAdapter<T>
java.lang.Object
software.amazon.cloudformation.proxy.CloudFormationCallbackAdapter<T>
- All Implemented Interfaces:
CallbackAdapter<T>
-
Constructor Summary
ConstructorsConstructorDescriptionCloudFormationCallbackAdapter(CloudFormationProvider cloudFormationProvider, LoggerProxy loggerProxy, Serializer serializer, software.amazon.cloudformation.resource.ResourceTypeSchema resourceTypeSchema) -
Method Summary
Modifier and TypeMethodDescriptionvoidOn 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 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(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
-