HttpMalformedResponseBodyAssertion

smithy.test.HttpMalformedResponseBodyAssertion
See theHttpMalformedResponseBodyAssertion companion trait

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
trait HasId
class Object
trait Matchable
class Any
Show all
Self type

Members list

Type members

Classlikes

final case class ContentsCase(contents: String) extends HttpMalformedResponseBodyAssertion

Defines the expected serialized response body, which will be matched exactly.

Defines the expected serialized response body, which will be matched exactly.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object ContentsCase

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class MessageRegexCase(messageRegex: String) extends HttpMalformedResponseBodyAssertion

A regex to evaluate against the message field in the body. For responses that may have some variance from platform to platform, such as those that include messages from a parser.

A regex to evaluate against the message field in the body. For responses that may have some variance from platform to platform, such as those that include messages from a parser.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
object Visitor

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Visitor.type
trait Visitor[A]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait Default[A]

Inherited classlikes

object hint

Attributes

Inherited from:
Companion
Supertypes
class Object
trait Matchable
class Any

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

Defines the expected serialized response body, which will be matched exactly.

Defines the expected serialized response body, which will be matched exactly.

Attributes

A regex to evaluate against the message field in the body. For responses that may have some variance from platform to platform, such as those that include messages from a parser.

A regex to evaluate against the message field in the body. For responses that may have some variance from platform to platform, such as those that include messages from a parser.

Attributes

Inherited methods

final override def getTag: ShapeTag[HttpMalformedResponseBodyAssertion]

Attributes

Definition Classes
Companion -> Has
Inherited from:
Companion

Concrete fields

val hints: Hints
val id: ShapeId

Implicits

Implicits

Inherited implicits

Attributes

Inherited from:
Companion