p

smithy

rules

package rules

Source
package.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. rules
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. case class ClientContextParamDefinition(_type: ShapeType, documentation: Option[String] = None) extends Product with Serializable

    A client context parameter definition.

    A client context parameter definition.

    documentation

    Documentation string to be generated with the client parameter.

  2. type ClientContextParams = rules.ClientContextParams.Type

    Defines one or more named rule-set parameters to be generated as configurable client parameters.

    Defines one or more named rule-set parameters to be generated as configurable client parameters. The type specified for the client parameter MUST match the parameter type defined in the rule-set.

  3. case class ContextParam(name: String) extends Product with Serializable

    Binds the targeted member of an operation's input structure to the named rule-set parameter.

    Binds the targeted member of an operation's input structure to the named rule-set parameter. The type of the shape targeted by the trait MUST match the parameter type defined in the rule-set.

    name

    The rule-set parameter name.

  4. case class EndpointExpectation(url: Option[String] = None, headers: Option[Map[String, List[String]]] = None, properties: Option[Map[String, Document]] = None) extends Product with Serializable

    A description of an expected endpoint to be resolved for an endpoint rule-set test case.

    A description of an expected endpoint to be resolved for an endpoint rule-set test case.

    url

    The expected endpoint URL to be resolved for this test case.

    headers

    The transport headers to be set for this test case.

    properties

    The properties for the endpoint for this test case.

  5. type EndpointHeaderValue = rules.EndpointHeaderValue.Type

    A list of transport header values.

  6. type EndpointHeaders = rules.EndpointHeaders.Type

    A map of header names to list of values.

  7. type EndpointRuleSet = rules.EndpointRuleSet.Type

    Defines an endpoint rule-set used to resolve the client's transport endpoint.

  8. case class EndpointTest(expect: EndpointTestExpectation, documentation: Option[String] = None, params: Option[Document] = None, operationInputs: Option[List[OperationInput]] = None) extends Product with Serializable

    Describes an endpoint test case for validation of an endpoint rule-set.

    Describes an endpoint test case for validation of an endpoint rule-set.

    expect

    The expected outcome of the test case.

    documentation

    Documentation describing the test case.

    params

    Defines rule-set parameters and values to use for testing rules-engine.

    operationInputs

    Defines a set of service operation configurations used for testing the rules-engine.

  9. sealed trait EndpointTestExpectation extends Product with Serializable

    An endpoint rule-set test expectation describing an expected endpoint or error.

  10. type EndpointTestList = rules.EndpointTestList.Type

    A list of endpoint rule-set tests.

  11. case class EndpointTests(version: String, testCases: Option[List[EndpointTest]] = None) extends Product with Serializable

    Defines endpoint test-cases for validating a client's endpoint rule-set.

    Defines endpoint test-cases for validating a client's endpoint rule-set.

    version

    The endpoint tests schema version.

    testCases

    List of endpoint test cases.

  12. case class OperationInput(operationName: String, operationParams: Option[Document] = None, builtInParams: Option[Document] = None, clientParams: Option[Document] = None) extends Product with Serializable

    A description of a service operation and input used to verify an endpoint rule-set test case.

    A description of a service operation and input used to verify an endpoint rule-set test case.

    operationName

    The name of the service operation targeted by the test.

    operationParams

    Defines the input parameters used to generate the operation request. These parameters MUST be compatible with the input of the operation.

    builtInParams

    Defines the set of rule-set built-ins and their corresponding values to be set.

    clientParams

    Defines the set of client configuration parameters to be set.

  13. type OperationInputs = rules.OperationInputs.Type

    A list of operation input descriptions for an endpoint rule-set test case.

  14. type Properties = rules.Properties.Type

    A map of strings to document values.

  15. sealed abstract class ShapeType extends Value

    An enum representing supported Smithy shape types.

  16. case class StaticContextParamDefinition(value: Document) extends Product with Serializable

    A static context parameter definition.

    A static context parameter definition.

    value

    The value to set the associated rule-set parameter to.

  17. type StaticContextParams = rules.StaticContextParams.Type

    Binds one or more named rule-set parameters to the defined static value for the targeted operation.

    Binds one or more named rule-set parameters to the defined static value for the targeted operation. The type of the targeted shape targeted by the trait MUST match the parameter type defined in the rule-set.

Value Members

  1. object ClientContextParamDefinition extends Companion[ClientContextParamDefinition] with Serializable
  2. object ClientContextParams extends Newtype[Map[String, ClientContextParamDefinition]]

    Defines one or more named rule-set parameters to be generated as configurable client parameters.

    Defines one or more named rule-set parameters to be generated as configurable client parameters. The type specified for the client parameter MUST match the parameter type defined in the rule-set.

  3. object ContextParam extends Companion[ContextParam] with Serializable
  4. object EndpointExpectation extends Companion[EndpointExpectation] with Serializable
  5. object EndpointHeaderValue extends Newtype[List[String]]

    A list of transport header values.

  6. object EndpointHeaders extends Newtype[Map[String, List[String]]]

    A map of header names to list of values.

  7. object EndpointRuleSet extends Newtype[Document]

    Defines an endpoint rule-set used to resolve the client's transport endpoint.

  8. object EndpointTest extends Companion[EndpointTest] with Serializable
  9. object EndpointTestExpectation extends Companion[EndpointTestExpectation] with Serializable
  10. object EndpointTestList extends Newtype[List[EndpointTest]]

    A list of endpoint rule-set tests.

  11. object EndpointTests extends Companion[EndpointTests] with Serializable
  12. object OperationInput extends Companion[OperationInput] with Serializable
  13. object OperationInputs extends Newtype[List[OperationInput]]

    A list of operation input descriptions for an endpoint rule-set test case.

  14. object Properties extends Newtype[Map[String, Document]]

    A map of strings to document values.

  15. object ShapeType extends Enumeration[ShapeType] with Companion[ShapeType] with Serializable
  16. object StaticContextParamDefinition extends Companion[StaticContextParamDefinition] with Serializable
  17. object StaticContextParams extends Newtype[Map[String, StaticContextParamDefinition]]

    Binds one or more named rule-set parameters to the defined static value for the targeted operation.

    Binds one or more named rule-set parameters to the defined static value for the targeted operation. The type of the targeted shape targeted by the trait MUST match the parameter type defined in the rule-set.

Inherited from AnyRef

Inherited from Any

Ungrouped