Class PutLifecycleEventHookExecutionStatusRequest

    • Method Detail

      • deploymentId

        public final String deploymentId()

        The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.

        Returns:
        The unique ID of a deployment. Pass this ID to a Lambda function that validates a deployment lifecycle event.
      • lifecycleEventHookExecutionId

        public final String lifecycleEventHookExecutionId()

        The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks section of the AppSpec file.

        Returns:
        The execution ID of a deployment's lifecycle hook. A deployment lifecycle hook is specified in the hooks section of the AppSpec file.
      • status

        public final LifecycleEventStatus status()

        The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.

        If the service returns an enum value that is not available in the current SDK version, status will return LifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.
        See Also:
        LifecycleEventStatus
      • statusAsString

        public final String statusAsString()

        The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.

        If the service returns an enum value that is not available in the current SDK version, status will return LifecycleEventStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The result of a Lambda function that validates a deployment lifecycle event. The values listed in Valid Values are valid for lifecycle statuses in general; however, only Succeeded and Failed can be passed successfully in your API call.
        See Also:
        LifecycleEventStatus
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object