libZSservicesZSamazonka-appmeshZSamazonka-appmesh
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.AppMesh.UpdateRoute

Description

Updates an existing route for a specified service mesh and virtual router.

Synopsis

Creating a Request

data UpdateRoute Source #

See: newUpdateRoute smart constructor.

Constructors

UpdateRoute' 

Fields

  • clientToken :: Maybe Text

    Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

  • meshOwner :: Maybe Text

    The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

  • meshName :: Text

    The name of the service mesh that the route resides in.

  • routeName :: Text

    The name of the route to update.

  • spec :: RouteSpec

    The new route specification to apply. This overwrites the existing data.

  • virtualRouterName :: Text

    The name of the virtual router that the route is associated with.

Instances

Instances details
Eq UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Read UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Show UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Generic UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Associated Types

type Rep UpdateRoute :: Type -> Type #

NFData UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Methods

rnf :: UpdateRoute -> () #

Hashable UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

ToJSON UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

AWSRequest UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Associated Types

type AWSResponse UpdateRoute #

ToHeaders UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Methods

toHeaders :: UpdateRoute -> [Header] #

ToPath UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

ToQuery UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

type Rep UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

type Rep UpdateRoute = D1 ('MetaData "UpdateRoute" "Amazonka.AppMesh.UpdateRoute" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "UpdateRoute'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "clientToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "meshOwner") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "routeName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteSpec) :*: S1 ('MetaSel ('Just "virtualRouterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

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:

$sel:clientToken:UpdateRoute', updateRoute_clientToken - Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

$sel:meshOwner:UpdateRoute', updateRoute_meshOwner - The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

$sel:meshName:UpdateRoute', updateRoute_meshName - The name of the service mesh that the route resides in.

$sel:routeName:UpdateRoute', updateRoute_routeName - The name of the route to update.

$sel:spec:UpdateRoute', updateRoute_spec - The new route specification to apply. This overwrites the existing data.

$sel:virtualRouterName:UpdateRoute', updateRoute_virtualRouterName - The name of the virtual router that the route is associated with.

Request Lenses

updateRoute_clientToken :: Lens' UpdateRoute (Maybe Text) Source #

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Up to 36 letters, numbers, hyphens, and underscores are allowed.

updateRoute_meshOwner :: Lens' UpdateRoute (Maybe Text) Source #

The AWS IAM account ID of the service mesh owner. If the account ID is not your own, then it's the ID of the account that shared the mesh with your account. For more information about mesh sharing, see Working with shared meshes.

updateRoute_meshName :: Lens' UpdateRoute Text Source #

The name of the service mesh that the route resides in.

updateRoute_routeName :: Lens' UpdateRoute Text Source #

The name of the route to update.

updateRoute_spec :: Lens' UpdateRoute RouteSpec Source #

The new route specification to apply. This overwrites the existing data.

updateRoute_virtualRouterName :: Lens' UpdateRoute Text Source #

The name of the virtual router that the route is associated with.

Destructuring the Response

data UpdateRouteResponse Source #

See: newUpdateRouteResponse smart constructor.

Constructors

UpdateRouteResponse' 

Fields

Instances

Instances details
Eq UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Read UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Show UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Generic UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Associated Types

type Rep UpdateRouteResponse :: Type -> Type #

NFData UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

Methods

rnf :: UpdateRouteResponse -> () #

type Rep UpdateRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateRoute

type Rep UpdateRouteResponse = D1 ('MetaData "UpdateRouteResponse" "Amazonka.AppMesh.UpdateRoute" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" 'False) (C1 ('MetaCons "UpdateRouteResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "route") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RouteData)))

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:

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

$sel:route:UpdateRouteResponse', updateRouteResponse_route - A full description of the route that was updated.

Response Lenses

updateRouteResponse_route :: Lens' UpdateRouteResponse RouteData Source #

A full description of the route that was updated.