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

Description

Associates a related item to a Systems Manager OpsCenter OpsItem. For example, you can associate an Incident Manager incident or analysis with an OpsItem. Incident Manager and OpsCenter are capabilities of Amazon Web Services Systems Manager.

Synopsis

Creating a Request

data AssociateOpsItemRelatedItem Source #

See: newAssociateOpsItemRelatedItem smart constructor.

Constructors

AssociateOpsItemRelatedItem' 

Fields

  • opsItemId :: Text

    The ID of the OpsItem to which you want to associate a resource as a related item.

  • associationType :: Text

    The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types.

  • resourceType :: Text

    The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

    AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

    AWS::SSM::Document: a Systems Manager (SSM) document.

  • resourceUri :: Text

    The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

Instances

Instances details
Eq AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Read AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Show AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Generic AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Associated Types

type Rep AssociateOpsItemRelatedItem :: Type -> Type #

NFData AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Hashable AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

ToJSON AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

AWSRequest AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

ToHeaders AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

ToPath AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

ToQuery AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

type Rep AssociateOpsItemRelatedItem Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

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

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

newAssociateOpsItemRelatedItem Source #

Create a value of AssociateOpsItemRelatedItem 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:AssociateOpsItemRelatedItem', associateOpsItemRelatedItem_opsItemId - The ID of the OpsItem to which you want to associate a resource as a related item.

$sel:associationType:AssociateOpsItemRelatedItem', associateOpsItemRelatedItem_associationType - The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types.

$sel:resourceType:AssociateOpsItemRelatedItem', associateOpsItemRelatedItem_resourceType - The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

AWS::SSM::Document: a Systems Manager (SSM) document.

$sel:resourceUri:AssociateOpsItemRelatedItem', associateOpsItemRelatedItem_resourceUri - The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

Request Lenses

associateOpsItemRelatedItem_opsItemId :: Lens' AssociateOpsItemRelatedItem Text Source #

The ID of the OpsItem to which you want to associate a resource as a related item.

associateOpsItemRelatedItem_associationType :: Lens' AssociateOpsItemRelatedItem Text Source #

The type of association that you want to create between an OpsItem and a resource. OpsCenter supports IsParentOf and RelatesTo association types.

associateOpsItemRelatedItem_resourceType :: Lens' AssociateOpsItemRelatedItem Text Source #

The type of resource that you want to associate with an OpsItem. OpsCenter supports the following types:

AWS::SSMIncidents::IncidentRecord: an Incident Manager incident.

AWS::SSM::Document: a Systems Manager (SSM) document.

associateOpsItemRelatedItem_resourceUri :: Lens' AssociateOpsItemRelatedItem Text Source #

The Amazon Resource Name (ARN) of the Amazon Web Services resource that you want to associate with the OpsItem.

Destructuring the Response

data AssociateOpsItemRelatedItemResponse Source #

Constructors

AssociateOpsItemRelatedItemResponse' 

Fields

Instances

Instances details
Eq AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Read AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Show AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

Generic AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

NFData AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

type Rep AssociateOpsItemRelatedItemResponse Source # 
Instance details

Defined in Amazonka.SSM.AssociateOpsItemRelatedItem

type Rep AssociateOpsItemRelatedItemResponse = D1 ('MetaData "AssociateOpsItemRelatedItemResponse" "Amazonka.SSM.AssociateOpsItemRelatedItem" "libZSservicesZSamazonka-ssmZSamazonka-ssm" 'False) (C1 ('MetaCons "AssociateOpsItemRelatedItemResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "associationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newAssociateOpsItemRelatedItemResponse Source #

Create a value of AssociateOpsItemRelatedItemResponse 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:associationId:AssociateOpsItemRelatedItemResponse', associateOpsItemRelatedItemResponse_associationId - The association ID.

$sel:httpStatus:AssociateOpsItemRelatedItemResponse', associateOpsItemRelatedItemResponse_httpStatus - The response's http status code.

Response Lenses