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

  • 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
Eq UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Read UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Show UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Generic UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type Rep UpdateGatewayRoute :: Type -> Type #

NFData UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Methods

rnf :: UpdateGatewayRoute -> () #

Hashable UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

ToJSON UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

AWSRequest UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type AWSResponse 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

type Rep UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

type Rep UpdateGatewayRoute = D1 ('MetaData "UpdateGatewayRoute" "Amazonka.AppMesh.UpdateGatewayRoute" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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)))))
type AWSResponse UpdateGatewayRoute Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

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.

$sel:meshOwner:UpdateGatewayRoute', updateGatewayRoute_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:gatewayRouteName:UpdateGatewayRoute', updateGatewayRoute_gatewayRouteName - The name of the gateway route to update.

$sel:meshName:UpdateGatewayRoute', updateGatewayRoute_meshName - The name of the service mesh that the gateway route resides in.

$sel:spec:UpdateGatewayRoute', updateGatewayRoute_spec - The new gateway route specification to apply. This overwrites the existing data.

$sel:virtualGatewayName: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 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.

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
Eq UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Read UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Show UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Generic UpdateGatewayRouteResponse Source # 
Instance details

Defined in Amazonka.AppMesh.UpdateGatewayRoute

Associated Types

type Rep UpdateGatewayRouteResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-appmeshZSamazonka-appmesh" '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.