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

Description

Updates an Amazon Web Services Migration Hub Refactor Spaces route.

Synopsis

Creating a Request

data UpdateRoute Source #

See: newUpdateRoute smart constructor.

Constructors

UpdateRoute' 

Fields

Instances

Instances details
ToJSON UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

ToHeaders UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Methods

toHeaders :: UpdateRoute -> [Header] #

ToPath UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

ToQuery UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

AWSRequest UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Associated Types

type AWSResponse UpdateRoute #

Generic UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Associated Types

type Rep UpdateRoute :: Type -> Type #

Read UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Show UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

NFData UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Methods

rnf :: UpdateRoute -> () #

Eq UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Hashable UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

type AWSResponse UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

type Rep UpdateRoute Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

type Rep UpdateRoute = D1 ('MetaData "UpdateRoute" "Amazonka.MigrationHubReFactorSpaces.UpdateRoute" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "UpdateRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "activationState") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteActivationState) :*: 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))))

newUpdateRoute Source #

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

UpdateRoute, updateRoute_activationState - If set to ACTIVE, traffic is forwarded to this route’s service after the route is updated.

$sel:applicationIdentifier:UpdateRoute', updateRoute_applicationIdentifier - The ID of the application within which the route is being updated.

$sel:environmentIdentifier:UpdateRoute', updateRoute_environmentIdentifier - The ID of the environment in which the route is being updated.

$sel:routeIdentifier:UpdateRoute', updateRoute_routeIdentifier - The unique identifier of the route to update.

Request Lenses

updateRoute_activationState :: Lens' UpdateRoute RouteActivationState Source #

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

updateRoute_applicationIdentifier :: Lens' UpdateRoute Text Source #

The ID of the application within which the route is being updated.

updateRoute_environmentIdentifier :: Lens' UpdateRoute Text Source #

The ID of the environment in which the route is being updated.

updateRoute_routeIdentifier :: Lens' UpdateRoute Text Source #

The unique identifier of the route to update.

Destructuring the Response

data UpdateRouteResponse Source #

See: newUpdateRouteResponse smart constructor.

Constructors

UpdateRouteResponse' 

Fields

Instances

Instances details
Generic UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Associated Types

type Rep UpdateRouteResponse :: Type -> Type #

Read UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Show UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

NFData UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

Methods

rnf :: UpdateRouteResponse -> () #

Eq UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

type Rep UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.MigrationHubReFactorSpaces.UpdateRoute

type Rep UpdateRouteResponse = D1 ('MetaData "UpdateRouteResponse" "Amazonka.MigrationHubReFactorSpaces.UpdateRoute" "amazonka-migration-hub-refactor-spaces-2.0-IgAA0SWWxlS8R7imIzpgpS" 'False) (C1 ('MetaCons "UpdateRouteResponse'" '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 "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: ((S1 ('MetaSel ('Just "routeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "serviceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RouteState)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newUpdateRouteResponse Source #

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

UpdateRouteResponse, updateRouteResponse_applicationId - The ID of the application in which the route is being updated.

UpdateRouteResponse, updateRouteResponse_arn - The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

UpdateRouteResponse, updateRouteResponse_lastUpdatedTime - A timestamp that indicates when the route was last updated.

UpdateRouteResponse, updateRouteResponse_routeId - The unique identifier of the route.

UpdateRouteResponse, updateRouteResponse_serviceId - The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.

UpdateRouteResponse, updateRouteResponse_state - The current state of the route.

$sel:httpStatus:UpdateRouteResponse', updateRouteResponse_httpStatus - The response's http status code.

Response Lenses

updateRouteResponse_applicationId :: Lens' UpdateRouteResponse (Maybe Text) Source #

The ID of the application in which the route is being updated.

updateRouteResponse_arn :: Lens' UpdateRouteResponse (Maybe Text) Source #

The Amazon Resource Name (ARN) of the route. The format for this ARN is arn:aws:refactor-spaces:region:account-id:resource-type/resource-id . For more information about ARNs, see Amazon Resource Names (ARNs) in the Amazon Web Services General Reference.

updateRouteResponse_lastUpdatedTime :: Lens' UpdateRouteResponse (Maybe UTCTime) Source #

A timestamp that indicates when the route was last updated.

updateRouteResponse_routeId :: Lens' UpdateRouteResponse (Maybe Text) Source #

The unique identifier of the route.

updateRouteResponse_serviceId :: Lens' UpdateRouteResponse (Maybe Text) Source #

The ID of service in which the route was created. Traffic that matches this route is forwarded to this service.