libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.CancelServiceSoftwareUpdate

Description

Cancels a scheduled service software update for an Amazon OpenSearch Service domain. You can only perform this operation before the AutomatedUpdateDate and when the UpdateStatus is in the PENDING_UPDATE state.

Synopsis

Creating a Request

data CancelServiceSoftwareUpdate Source #

Container for the parameters to the CancelServiceSoftwareUpdate operation. Specifies the name of the domain that you wish to cancel a service software update on.

See: newCancelServiceSoftwareUpdate smart constructor.

Constructors

CancelServiceSoftwareUpdate' 

Fields

  • domainName :: Text

    The name of the domain that you want to stop the latest service software update on.

Instances

Instances details
Eq CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Read CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Show CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Generic CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Associated Types

type Rep CancelServiceSoftwareUpdate :: Type -> Type #

NFData CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Hashable CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

ToJSON CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

AWSRequest CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

ToHeaders CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

ToPath CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

ToQuery CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

type Rep CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

type Rep CancelServiceSoftwareUpdate = D1 ('MetaData "CancelServiceSoftwareUpdate" "Amazonka.OpenSearch.CancelServiceSoftwareUpdate" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "CancelServiceSoftwareUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

newCancelServiceSoftwareUpdate Source #

Create a value of CancelServiceSoftwareUpdate 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:domainName:CancelServiceSoftwareUpdate', cancelServiceSoftwareUpdate_domainName - The name of the domain that you want to stop the latest service software update on.

Request Lenses

cancelServiceSoftwareUpdate_domainName :: Lens' CancelServiceSoftwareUpdate Text Source #

The name of the domain that you want to stop the latest service software update on.

Destructuring the Response

data CancelServiceSoftwareUpdateResponse Source #

The result of a CancelServiceSoftwareUpdate operation. Contains the status of the update.

See: newCancelServiceSoftwareUpdateResponse smart constructor.

Constructors

CancelServiceSoftwareUpdateResponse' 

Fields

Instances

Instances details
Eq CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Read CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Show CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Generic CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

NFData CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

type Rep CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

type Rep CancelServiceSoftwareUpdateResponse = D1 ('MetaData "CancelServiceSoftwareUpdateResponse" "Amazonka.OpenSearch.CancelServiceSoftwareUpdate" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "CancelServiceSoftwareUpdateResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "serviceSoftwareOptions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ServiceSoftwareOptions)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCancelServiceSoftwareUpdateResponse Source #

Create a value of CancelServiceSoftwareUpdateResponse 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:serviceSoftwareOptions:CancelServiceSoftwareUpdateResponse', cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions - The current status of the OpenSearch service software update.

$sel:httpStatus:CancelServiceSoftwareUpdateResponse', cancelServiceSoftwareUpdateResponse_httpStatus - The response's http status code.

Response Lenses