amazonka-ssm-2.0: Amazon Simple Systems Manager (SSM) 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.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
ToJSON GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.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

AWSRequest GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type AWSResponse GetOpsItem #

Generic GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type Rep GetOpsItem :: Type -> Type #

Read GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Show GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

NFData GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Methods

rnf :: GetOpsItem -> () #

Eq GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Hashable GetOpsItem Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

type AWSResponse 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" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" 'False) (C1 ('MetaCons "GetOpsItem'" 'PrefixI 'True) (S1 ('MetaSel ('Just "opsItemArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "opsItemId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetOpsItem Source #

Arguments

:: Text

GetOpsItem

-> GetOpsItem 

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:

GetOpsItem, getOpsItem_opsItemArn - The OpsItem Amazon Resource Name (ARN).

GetOpsItem, getOpsItem_opsItemId - The ID of the OpsItem that you want to get.

Request Lenses

getOpsItem_opsItemArn :: Lens' GetOpsItem (Maybe Text) Source #

The OpsItem Amazon Resource Name (ARN).

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
Generic GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Associated Types

type Rep GetOpsItemResponse :: Type -> Type #

Read GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Show GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

NFData GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

Methods

rnf :: GetOpsItemResponse -> () #

Eq GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

type Rep GetOpsItemResponse Source # 
Instance details

Defined in Amazonka.SSM.GetOpsItem

type Rep GetOpsItemResponse = D1 ('MetaData "GetOpsItemResponse" "Amazonka.SSM.GetOpsItem" "amazonka-ssm-2.0-Ak65QSGRhJDC5x7UvsCpi8" '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