libZSservicesZSamazonka-protonZSamazonka-proton
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.Proton.UpdateService

Description

Edit a service description or use a spec to add and delete service instances.

Existing service instances and the service pipeline can't be edited using this API. They can only be deleted.

Use the description parameter to modify the description.

Edit the spec parameter to add or delete instances.

Synopsis

Creating a Request

data UpdateService Source #

See: newUpdateService smart constructor.

Constructors

UpdateService' 

Fields

Instances

Instances details
Eq UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

Show UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

Generic UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

Associated Types

type Rep UpdateService :: Type -> Type #

NFData UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

Methods

rnf :: UpdateService -> () #

Hashable UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

ToJSON UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

AWSRequest UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

Associated Types

type AWSResponse UpdateService #

ToHeaders UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

ToPath UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

ToQuery UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

type Rep UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

type Rep UpdateService = D1 ('MetaData "UpdateService" "Amazonka.Proton.UpdateService" "libZSservicesZSamazonka-protonZSamazonka-proton" 'False) (C1 ('MetaCons "UpdateService'" 'PrefixI 'True) (S1 ('MetaSel ('Just "spec") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: (S1 ('MetaSel ('Just "description") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse UpdateService Source # 
Instance details

Defined in Amazonka.Proton.UpdateService

newUpdateService Source #

Create a value of UpdateService 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:spec:UpdateService', updateService_spec - Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the AWS Proton Administrator Guide or the AWS Proton User Guide.

$sel:description:UpdateService', updateService_description - The edited service description.

$sel:name:UpdateService', updateService_name - The name of the service to edit.

Request Lenses

updateService_spec :: Lens' UpdateService (Maybe Text) Source #

Lists the service instances to add and the existing service instances to remain. Omit the existing service instances to delete from the list. Don't include edits to the existing service instances or pipeline. For more information, see Edit a service in the AWS Proton Administrator Guide or the AWS Proton User Guide.

updateService_description :: Lens' UpdateService (Maybe Text) Source #

The edited service description.

updateService_name :: Lens' UpdateService Text Source #

The name of the service to edit.

Destructuring the Response

data UpdateServiceResponse Source #

See: newUpdateServiceResponse smart constructor.

Constructors

UpdateServiceResponse' 

Fields

newUpdateServiceResponse Source #

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

$sel:service:UpdateServiceResponse', updateServiceResponse_service - The service detail data that's returned by AWS Proton.

Response Lenses

updateServiceResponse_service :: Lens' UpdateServiceResponse Service Source #

The service detail data that's returned by AWS Proton.