| Package | Description |
|---|---|
| software.amazon.cloudformation.metrics | |
| software.amazon.cloudformation.proxy |
This package provide facilities to make it easy to work against AWS APIs that
are eventually consistent for applying resource state.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MetricsPublisher.publishExceptionMetric(Instant timestamp,
Action action,
Throwable e,
HandlerErrorCode handlerErrorCode) |
void |
MetricsPublisherImpl.publishExceptionMetric(Instant timestamp,
Action action,
Throwable e,
HandlerErrorCode handlerErrorCode) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerErrorCode |
HandlerErrorCode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HandlerErrorCode[] |
HandlerErrorCode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static <ResourceT,CallbackT> |
ProgressEvent.defaultFailureHandler(Throwable e,
HandlerErrorCode handlerErrorCode)
Convenience method for constructing a FAILED response
|
static <ResourceT,CallbackT> |
ProgressEvent.failed(ResourceT model,
CallbackT cxt,
HandlerErrorCode code,
String message) |
void |
MetricsPublisherProxy.publishExceptionMetric(Instant timestamp,
Action action,
Throwable e,
HandlerErrorCode handlerErrorCode) |
void |
CloudFormationCallbackAdapter.reportProgress(String bearerToken,
HandlerErrorCode errorCode,
OperationStatus operationStatus,
OperationStatus currentOperationStatus,
T resourceModel,
String statusMessage) |
void |
CallbackAdapter.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
|
Copyright © 2019 Amazon Web Services, Inc. All Rights Reserved.