amazonka-appmesh-2.0: Amazon App Mesh 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.AppMesh.UpdateGatewayRoute

Description

Updates an existing gateway route that is associated to a specified virtual gateway in a service mesh.

Synopsis

Creating a Request

data UpdateGatewayRoute Source #

See: newUpdateGatewayRoute smart constructor.

Constructors

UpdateGatewayRoute' 

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 Amazon Web Services 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.

  • gatewayRouteName :: Text

    The name of the gateway route to update.

  • meshName :: Text

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

  • spec :: GatewayRouteSpec

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

  • virtualGatewayName :: Text

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

Instances

Instances details
ToJSON UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

ToHeaders UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

ToPath UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

ToQuery UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

AWSRequest UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type AWSResponse UpdateGatewayRoute #

Generic UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type Rep UpdateGatewayRoute :: Type -> Type #

Read UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Show UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

NFData UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Methods

rnf :: UpdateGatewayRoute -> () #

Eq UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Hashable UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type AWSResponse UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type Rep UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type Rep UpdateGatewayRoute = D1 ('MetaData "UpdateGatewayRoute" "Amazonka.AppMesh.UpdateGatewayRoute" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "UpdateGatewayRoute'" '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 "gatewayRouteName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "meshName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayRouteSpec) :*: S1 ('MetaSel ('Just "virtualGatewayName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateGatewayRoute Source #

Create a value of UpdateGatewayRoute 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:UpdateGatewayRoute', updateGatewayRoute_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.

UpdateGatewayRoute, updateGatewayRoute_meshOwner - The Amazon Web Services 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.

UpdateGatewayRoute, updateGatewayRoute_gatewayRouteName - The name of the gateway route to update.

UpdateGatewayRoute, updateGatewayRoute_meshName - The name of the service mesh that the gateway route resides in.

UpdateGatewayRoute, updateGatewayRoute_spec - The new gateway route specification to apply. This overwrites the existing data.

UpdateGatewayRoute, updateGatewayRoute_virtualGatewayName - The name of the virtual gateway that the gateway route is associated with.

Request Lenses

updateGatewayRoute_clientToken :: Lens' UpdateGatewayRoute (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.

updateGatewayRoute_meshOwner :: Lens' UpdateGatewayRoute (Maybe Text) Source #

The Amazon Web Services 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.

updateGatewayRoute_gatewayRouteName :: Lens' UpdateGatewayRoute Text Source #

The name of the gateway route to update.

updateGatewayRoute_meshName :: Lens' UpdateGatewayRoute Text Source #

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

updateGatewayRoute_spec :: Lens' UpdateGatewayRoute GatewayRouteSpec Source #

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

updateGatewayRoute_virtualGatewayName :: Lens' UpdateGatewayRoute Text Source #

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

Destructuring the Response

data UpdateGatewayRouteResponse Source #

See: newUpdateGatewayRouteResponse smart constructor.

Constructors

UpdateGatewayRouteResponse' 

Fields

Instances

Instances details
Generic UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type Rep UpdateGatewayRouteResponse :: Type -> Type #

Read UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Show UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

NFData UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Eq UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type Rep UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type Rep UpdateGatewayRouteResponse = D1 ('MetaData "UpdateGatewayRouteResponse" "Amazonka.AppMesh.UpdateGatewayRoute" "amazonka-appmesh-2.0-GBIHUgXnP8s1LEJyvNe1ca" 'False) (C1 ('MetaCons "UpdateGatewayRouteResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "gatewayRoute") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 GatewayRouteData)))

newUpdateGatewayRouteResponse Source #

Create a value of UpdateGatewayRouteResponse 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:UpdateGatewayRouteResponse', updateGatewayRouteResponse_httpStatus - The response's http status code.

$sel:gatewayRoute:UpdateGatewayRouteResponse', updateGatewayRouteResponse_gatewayRoute - A full description of the gateway route that was updated.

Response Lenses

updateGatewayRouteResponse_gatewayRoute :: Lens' UpdateGatewayRouteResponse GatewayRouteData Source #

A full description of the gateway route that was updated.