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.GetRoute

Description

Gets an Amazon Web Services Migration Hub Refactor Spaces route.

Synopsis

Creating a Request

data GetRoute Source #

See: newGetRoute smart constructor.

Constructors

GetRoute' 

Fields

Instances

Instances details
ToHeaders GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Methods

toHeaders :: GetRoute -> [Header] #

ToPath GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

ToQuery GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

AWSRequest GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Associated Types

type AWSResponse GetRoute #

Generic GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Associated Types

type Rep GetRoute :: Type -> Type #

Methods

from :: GetRoute -> Rep GetRoute x #

to :: Rep GetRoute x -> GetRoute #

Read GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Show GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

NFData GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Methods

rnf :: GetRoute -> () #

Eq GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Hashable GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Methods

hashWithSalt :: Int -> GetRoute -> Int #

hash :: GetRoute -> Int #

type AWSResponse GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

type Rep GetRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

type Rep GetRoute = D1 ('MetaData "GetRoute" "Amazonka.MigrationHubReFactorSpaces.GetRoute" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "GetRoute'" 'PrefixI 'True) (S1 ('MetaSel ('Just "applicationIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "environmentIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "routeIdentifier") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newGetRoute Source #

Create a value of GetRoute 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:applicationIdentifier:GetRoute', getRoute_applicationIdentifier - The ID of the application.

$sel:environmentIdentifier:GetRoute', getRoute_environmentIdentifier - The ID of the environment.

$sel:routeIdentifier:GetRoute', getRoute_routeIdentifier - The ID of the route.

Request Lenses

Destructuring the Response

data GetRouteResponse Source #

See: newGetRouteResponse smart constructor.

Constructors

GetRouteResponse' 

Fields

Instances

Instances details
Generic GetRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Associated Types

type Rep GetRouteResponse :: Type -> Type #

Show GetRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

NFData GetRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

Methods

rnf :: GetRouteResponse -> () #

Eq GetRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

type Rep GetRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.GetRoute

type Rep GetRouteResponse = D1 ('MetaData "GetRouteResponse" "Amazonka.MigrationHubReFactorSpaces.GetRoute" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "GetRouteResponse'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "applicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "createdByAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "createdTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "error") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorResponse))) :*: (S1 ('MetaSel ('Just "includeChildPaths") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "methods") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [HttpMethod])))))) :*: (((S1 ('MetaSel ('Just "ownerAccountId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "pathResourceToId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text)))) :*: (S1 ('MetaSel ('Just "routeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "routeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteType)))) :*: ((S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "sourcePath") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteState)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive (HashMap Text Text)))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))))

newGetRouteResponse Source #

Create a value of GetRouteResponse 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:

GetRouteResponse, getRouteResponse_applicationId - The ID of the application that the route belongs to.

GetRouteResponse, getRouteResponse_arn - The Amazon Resource Name (ARN) of the route.

GetRouteResponse, getRouteResponse_createdByAccountId - The Amazon Web Services account ID of the route creator.

GetRouteResponse, getRouteResponse_createdTime - The timestamp of when the route is created.

GetRouteResponse, getRouteResponse_environmentId - Unique identifier of the environment.

GetRouteResponse, getRouteResponse_error - Any error associated with the route resource.

GetRouteResponse, getRouteResponse_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.

GetRouteResponse, getRouteResponse_lastUpdatedTime - A timestamp that indicates when the route was last updated.

GetRouteResponse, getRouteResponse_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.

GetRouteResponse, getRouteResponse_ownerAccountId - The Amazon Web Services account ID of the route owner.

GetRouteResponse, getRouteResponse_pathResourceToId - A mapping of Amazon API Gateway path resources to resource IDs.

GetRouteResponse, getRouteResponse_routeId - The unique identifier of the route.

DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.

URI_PATH: A route that is based on a URI path.

GetRouteResponse, getRouteResponse_routeType - The type of route.

GetRouteResponse, getRouteResponse_serviceId - The unique identifier of the service.

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

GetRouteResponse, getRouteResponse_state - The current state of the route.

GetRouteResponse, getRouteResponse_tags - The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

$sel:httpStatus:GetRouteResponse', getRouteResponse_httpStatus - The response's http status code.

Response Lenses

getRouteResponse_applicationId :: Lens' GetRouteResponse (Maybe Text) Source #

The ID of the application that the route belongs to.

getRouteResponse_arn :: Lens' GetRouteResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the route.

getRouteResponse_createdByAccountId :: Lens' GetRouteResponse (Maybe Text) Source #

The Amazon Web Services account ID of the route creator.

getRouteResponse_createdTime :: Lens' GetRouteResponse (Maybe UTCTime) Source #

The timestamp of when the route is created.

getRouteResponse_environmentId :: Lens' GetRouteResponse (Maybe Text) Source #

Unique identifier of the environment.

getRouteResponse_error :: Lens' GetRouteResponse (Maybe ErrorResponse) Source #

Any error associated with the route resource.

getRouteResponse_includeChildPaths :: Lens' GetRouteResponse (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.

getRouteResponse_lastUpdatedTime :: Lens' GetRouteResponse (Maybe UTCTime) Source #

A timestamp that indicates when the route was last updated.

getRouteResponse_methods :: Lens' GetRouteResponse (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.

getRouteResponse_ownerAccountId :: Lens' GetRouteResponse (Maybe Text) Source #

The Amazon Web Services account ID of the route owner.

getRouteResponse_pathResourceToId :: Lens' GetRouteResponse (Maybe (HashMap Text Text)) Source #

A mapping of Amazon API Gateway path resources to resource IDs.

getRouteResponse_routeId :: Lens' GetRouteResponse (Maybe Text) Source #

The unique identifier of the route.

DEFAULT: All traffic that does not match another route is forwarded to the default route. Applications must have a default route before any other routes can be created.

URI_PATH: A route that is based on a URI path.

getRouteResponse_serviceId :: Lens' GetRouteResponse (Maybe Text) Source #

The unique identifier of the service.

getRouteResponse_sourcePath :: Lens' GetRouteResponse (Maybe Text) Source #

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

getRouteResponse_tags :: Lens' GetRouteResponse (Maybe (HashMap Text Text)) Source #

The tags assigned to the route. A tag is a label that you assign to an Amazon Web Services resource. Each tag consists of a key-value pair.

getRouteResponse_httpStatus :: Lens' GetRouteResponse Int Source #

The response's http status code.