amazonka-opensearch-2.0: Amazon OpenSearch Service 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.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 domain's UpdateStatus is PENDING_UPDATE. For more information, see Service software updates in Amazon OpenSearch Service.

Synopsis

Creating a Request

data CancelServiceSoftwareUpdate Source #

Container for the request parameters to cancel a service software update.

See: newCancelServiceSoftwareUpdate smart constructor.

Constructors

CancelServiceSoftwareUpdate' 

Fields

  • domainName :: Text

    Name of the OpenSearch Service domain that you want to cancel the service software update on.

Instances

Instances details
ToJSON 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

AWSRequest 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 #

Read CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Show CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

NFData CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Eq CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Hashable CancelServiceSoftwareUpdate Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

type AWSResponse 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" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" 'False) (C1 ('MetaCons "CancelServiceSoftwareUpdate'" 'PrefixI 'True) (S1 ('MetaSel ('Just "domainName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

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:

CancelServiceSoftwareUpdate, cancelServiceSoftwareUpdate_domainName - Name of the OpenSearch Service domain that you want to cancel the service software update on.

Request Lenses

cancelServiceSoftwareUpdate_domainName :: Lens' CancelServiceSoftwareUpdate Text Source #

Name of the OpenSearch Service domain that you want to cancel the service software update on.

Destructuring the Response

data CancelServiceSoftwareUpdateResponse Source #

Container for the response to a CancelServiceSoftwareUpdate operation. Contains the status of the update.

See: newCancelServiceSoftwareUpdateResponse smart constructor.

Constructors

CancelServiceSoftwareUpdateResponse' 

Fields

Instances

Instances details
Generic 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

NFData CancelServiceSoftwareUpdateResponse Source # 
Instance details

Defined in Amazonka.OpenSearch.CancelServiceSoftwareUpdate

Eq 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" "amazonka-opensearch-2.0-GNoaWlqGXH04P8GBIHM78L" '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:

CancelServiceSoftwareUpdateResponse, cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions - Container for the state of your domain relative to the latest service software.

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

Response Lenses

cancelServiceSoftwareUpdateResponse_serviceSoftwareOptions :: Lens' CancelServiceSoftwareUpdateResponse (Maybe ServiceSoftwareOptions) Source #

Container for the state of your domain relative to the latest service software.