libZSservicesZSamazonka-ssmZSamazonka-ssm
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.SSM.DisassociateOpsItemRelatedItem

Description

Deletes the association between an OpsItem and a related item. For example, this API operation can delete an Incident Manager incident from an OpsItem. Incident Manager is a capability of Amazon Web Services Systems Manager.

Synopsis

Creating a Request

data DisassociateOpsItemRelatedItem Source #

See: newDisassociateOpsItemRelatedItem smart constructor.

Constructors

DisassociateOpsItemRelatedItem' 

Fields

  • opsItemId :: Text

    The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

  • associationId :: Text

    The ID of the association for which you want to delete an association between the OpsItem and a related item.

Instances

Instances details
Eq DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Read DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Show DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Generic DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Associated Types

type Rep DisassociateOpsItemRelatedItem :: Type -> Type #

NFData DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Hashable DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

ToJSON DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

AWSRequest DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

ToHeaders DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

ToPath DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

ToQuery DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

type Rep DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

type Rep DisassociateOpsItemRelatedItem = D1 ('MetaData "DisassociateOpsItemRelatedItem" "Amazonka.SSM.DisassociateOpsItemRelatedItem" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DisassociateOpsItemRelatedItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "opsItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DisassociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

newDisassociateOpsItemRelatedItem Source #

Create a value of DisassociateOpsItemRelatedItem 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:opsItemId:DisassociateOpsItemRelatedItem', disassociateOpsItemRelatedItem_opsItemId - The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

$sel:associationId:DisassociateOpsItemRelatedItem', disassociateOpsItemRelatedItem_associationId - The ID of the association for which you want to delete an association between the OpsItem and a related item.

Request Lenses

disassociateOpsItemRelatedItem_opsItemId :: Lens' DisassociateOpsItemRelatedItem Text Source #

The ID of the OpsItem for which you want to delete an association between the OpsItem and a related item.

disassociateOpsItemRelatedItem_associationId :: Lens' DisassociateOpsItemRelatedItem Text Source #

The ID of the association for which you want to delete an association between the OpsItem and a related item.

Destructuring the Response

data DisassociateOpsItemRelatedItemResponse Source #

Constructors

DisassociateOpsItemRelatedItemResponse' 

Fields

Instances

Instances details
Eq DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Read DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Show DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

Generic DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

NFData DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

type Rep DisassociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.DisassociateOpsItemRelatedItem

type Rep DisassociateOpsItemRelatedItemResponse = D1 ('MetaData "DisassociateOpsItemRelatedItemResponse" "Amazonka.SSM.DisassociateOpsItemRelatedItem" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "DisassociateOpsItemRelatedItemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDisassociateOpsItemRelatedItemResponse Source #

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

Response Lenses