amazonka-migration-hub-refactor-spaces-2.0: Amazon Migration Hub Refactor Spaces SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Description

 
Synopsis

Documentation

data UriPathRouteInput Source #

The configuration for the URI path route type.

See: newUriPathRouteInput smart constructor.

Constructors

UriPathRouteInput' 

Fields

  • includeChildPaths :: Maybe Bool

    Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.

  • methods :: Maybe [HttpMethod]

    A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.

  • activationState :: RouteActivationState

    If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.

  • sourcePath :: Text

    The path to use to match traffic. Paths must start with / and are relative to the base of the application.

Instances

Instances details
FromJSON UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

ToJSON UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Generic UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Associated Types

type Rep UriPathRouteInput :: Type -> Type #

Read UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Show UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

NFData UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Methods

rnf :: UriPathRouteInput -> () #

Eq UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

Hashable UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

type Rep UriPathRouteInput Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput

type Rep UriPathRouteInput = D1 ('MetaData "UriPathRouteInput" "Amazonka.MigrationHubReFactorSpaces.Types.UriPathRouteInput" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "UriPathRouteInput'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "includeChildPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "methods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HttpMethod]))) :*: (S1 ('MetaSel ('Just "activationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteActivationState) :*: S1 ('MetaSel ('Just "sourcePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newUriPathRouteInput Source #

Create a value of UriPathRouteInput with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:includeChildPaths:UriPathRouteInput', uriPathRouteInput_includeChildPaths - Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.

$sel:methods:UriPathRouteInput', uriPathRouteInput_methods - A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.

$sel:activationState:UriPathRouteInput', uriPathRouteInput_activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.

$sel:sourcePath:UriPathRouteInput', uriPathRouteInput_sourcePath - The path to use to match traffic. Paths must start with / and are relative to the base of the application.

uriPathRouteInput_includeChildPaths :: Lens' UriPathRouteInput (Maybe Bool) Source #

Indicates whether to match all subpaths of the given source path. If this value is false, requests must match the source path exactly before they are forwarded to this route's service.

uriPathRouteInput_methods :: Lens' UriPathRouteInput (Maybe [HttpMethod]) Source #

A list of HTTP methods to match. An empty list matches all values. If a method is present, only HTTP requests using that method are forwarded to this route’s service.

uriPathRouteInput_activationState :: Lens' UriPathRouteInput RouteActivationState Source #

If set to ACTIVE, traffic is forwarded to this route’s service after the route is created.

uriPathRouteInput_sourcePath :: Lens' UriPathRouteInput Text Source #

The path to use to match traffic. Paths must start with / and are relative to the base of the application.