Packages

p

smithy

waiters

package waiters

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. waiters
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Acceptor(state: AcceptorState, matcher: Matcher) extends Product with Serializable

    Represents an acceptor in a waiter's state machine.

    Represents an acceptor in a waiter's state machine.

    state

    The state the acceptor transitions to when matched.

    matcher

    The matcher used to test if the resource is in a given state.

  2. sealed abstract class AcceptorState extends Value

    The transition state of a waiter.

  3. type Acceptors = waiters.Acceptors.Type

  4. sealed trait Matcher extends Product with Serializable

    Defines how an acceptor determines if it matches the current state of a resource.

  5. type NonEmptyString = waiters.NonEmptyString.Type
  6. type NonEmptyStringList = waiters.NonEmptyStringList.Type
  7. sealed abstract class PathComparator extends Value

    Defines a comparison to perform in a PathMatcher.

  8. final case class PathMatcher(path: String, expected: String, comparator: PathComparator) extends Product with Serializable

    Defines how to test the result of a JMESPath expression against an expected value.

    Defines how to test the result of a JMESPath expression against an expected value.

    path

    A JMESPath expression applied to the input or output of an operation.

    expected

    The expected return value of the expression.

    comparator

    The comparator used to compare the result of the expression with the expected value.

  9. type Waitable = waiters.Waitable.Type

    Indicates that an operation has various named "waiters" that can be used to poll a resource until it enters a desired state.

  10. final case class Waiter(acceptors: List[Acceptor], minDelay: WaiterDelay = smithy.waiters.WaiterDelay(2), maxDelay: WaiterDelay = smithy.waiters.WaiterDelay(120), documentation: Option[String] = None, deprecated: Option[Boolean] = None, tags: Option[List[NonEmptyString]] = None) extends Product with Serializable

    Defines an individual operation waiter.

    Defines an individual operation waiter.

    acceptors

    An ordered array of acceptors to check after executing an operation.

    minDelay

    The minimum amount of time in seconds to delay between each retry. This value defaults to 2 if not specified. If specified, this value MUST be greater than or equal to 1 and less than or equal to maxDelay.

    maxDelay

    The maximum amount of time in seconds to delay between each retry. This value defaults to 120 if not specified (or, 2 minutes). If specified, this value MUST be greater than or equal to 1.

    documentation

    Documentation about the waiter. Can use CommonMark.

    deprecated

    Indicates if the waiter is considered deprecated. A waiter SHOULD be marked as deprecated if it has been replaced by another waiter or if it is no longer needed (for example, if a resource changes from eventually consistent to strongly consistent).

    tags

    A list of tags associated with the waiter that allow waiters to be categorized and grouped.

  11. type WaiterDelay = waiters.WaiterDelay.Type
  12. type WaiterName = waiters.WaiterName.Type

Value Members

  1. object Acceptor extends Companion[Acceptor] with Serializable
  2. object AcceptorState extends Enumeration[AcceptorState] with Companion[AcceptorState] with Serializable
  3. object Acceptors extends Newtype[List[Acceptor]]

  4. object Matcher extends Companion[Matcher] with Serializable
  5. object NonEmptyString extends Newtype[String]
  6. object NonEmptyStringList extends Newtype[List[NonEmptyString]]
  7. object PathComparator extends Enumeration[PathComparator] with Companion[PathComparator] with Serializable
  8. object PathMatcher extends Companion[PathMatcher] with Serializable
  9. object Waitable extends Newtype[Map[WaiterName, Waiter]]

    Indicates that an operation has various named "waiters" that can be used to poll a resource until it enters a desired state.

  10. object Waiter extends Companion[Waiter] with Serializable
  11. object WaiterDelay extends Newtype[Int]
  12. object WaiterName extends Newtype[String]

Inherited from AnyRef

Inherited from Any

Ungrouped