amazonka-fis-2.0: Amazon Fault Injection Simulator 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.FIS.GetAction

Description

Gets information about the specified FIS action.

Synopsis

Creating a Request

data GetAction Source #

See: newGetAction smart constructor.

Constructors

GetAction' 

Fields

  • id :: Text

    The ID of the action.

Instances

Instances details
ToHeaders GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Methods

toHeaders :: GetAction -> [Header] #

ToPath GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

ToQuery GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

AWSRequest GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Associated Types

type AWSResponse GetAction #

Generic GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Associated Types

type Rep GetAction :: Type -> Type #

Read GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Show GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

NFData GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Methods

rnf :: GetAction -> () #

Eq GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Hashable GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

type AWSResponse GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

type Rep GetAction Source # 
Instance details

Defined in Amazonka.FIS.GetAction

type Rep GetAction = D1 ('MetaData "GetAction" "Amazonka.FIS.GetAction" "amazonka-fis-2.0-7yQxB3RmWBm2PZyqsl0n5H" 'False) (C1 ('MetaCons "GetAction'" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetAction Source #

Arguments

:: Text

GetAction

-> GetAction 

Create a value of GetAction 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:

GetAction, getAction_id - The ID of the action.

Request Lenses

getAction_id :: Lens' GetAction Text Source #

The ID of the action.

Destructuring the Response

data GetActionResponse Source #

See: newGetActionResponse smart constructor.

Constructors

GetActionResponse' 

Fields

Instances

Instances details
Generic GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Associated Types

type Rep GetActionResponse :: Type -> Type #

Read GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Show GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

NFData GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

Methods

rnf :: GetActionResponse -> () #

Eq GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

type Rep GetActionResponse Source # 
Instance details

Defined in Amazonka.FIS.GetAction

type Rep GetActionResponse = D1 ('MetaData "GetActionResponse" "Amazonka.FIS.GetAction" "amazonka-fis-2.0-7yQxB3RmWBm2PZyqsl0n5H" 'False) (C1 ('MetaCons "GetActionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "action") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Action)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newGetActionResponse Source #

Create a value of GetActionResponse 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:action:GetActionResponse', getActionResponse_action - Information about the action.

$sel:httpStatus:GetActionResponse', getActionResponse_httpStatus - The response's http status code.

Response Lenses

getActionResponse_httpStatus :: Lens' GetActionResponse Int Source #

The response's http status code.