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

Description

Get information about an OpsItem by using the ID. You must have permission in Identity and Access Management (IAM) to view information about an OpsItem. For more information, see Getting started with OpsCenter in the Amazon Web Services Systems Manager User Guide.

Operations engineers and IT professionals use Amazon Web Services Systems Manager OpsCenter to view, investigate, and remediate operational issues impacting the performance and health of their Amazon Web Services resources. For more information, see OpsCenter in the Amazon Web Services Systems Manager User Guide.

Synopsis

Creating a Request

data GetOpsItem Source #

See: newGetOpsItem smart constructor.

Constructors

GetOpsItem' 

Fields

Instances

Instances details
Eq GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Read GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Show GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Generic GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type Rep GetOpsItem :: Type -> Type #

NFData GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Methods

rnf :: GetOpsItem -> () #

Hashable GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

ToJSON GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

AWSRequest GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type AWSResponse GetOpsItem #

ToHeaders GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Methods

toHeaders :: GetOpsItem -> [Header] #

ToPath GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

ToQuery GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

type Rep GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

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

Defined in Amazonka.SSM.GetOpsItem

newGetOpsItem Source #

Create a value of GetOpsItem 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:GetOpsItem', getOpsItem_opsItemId - The ID of the OpsItem that you want to get.

Request Lenses

getOpsItem_opsItemId :: Lens' GetOpsItem Text Source #

The ID of the OpsItem that you want to get.

Destructuring the Response

data GetOpsItemResponse Source #

See: newGetOpsItemResponse smart constructor.

Constructors

GetOpsItemResponse' 

Fields

Instances

Instances details
Eq GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Read GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Show GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Generic GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type Rep GetOpsItemResponse :: Type -> Type #

NFData GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Methods

rnf :: GetOpsItemResponse -> () #

type Rep GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

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

newGetOpsItemResponse Source #

Create a value of GetOpsItemResponse 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:opsItem:GetOpsItemResponse', getOpsItemResponse_opsItem - The OpsItem.

$sel:httpStatus:GetOpsItemResponse', getOpsItemResponse_httpStatus - The response's http status code.

Response Lenses