amazonka-proton-2.0: Amazon Proton 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.Proton.GetComponent

Description

Get detailed data for a component.

For more information about components, see Proton components in the Proton User Guide.

Synopsis

Creating a Request

data GetComponent Source #

See: newGetComponent smart constructor.

Constructors

GetComponent' 

Fields

  • name :: Text

    The name of the component that you want to get the detailed data for.

Instances

Instances details
ToJSON GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

ToHeaders GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

ToPath GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

ToQuery GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

AWSRequest GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

Associated Types

type AWSResponse GetComponent #

Generic GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

Associated Types

type Rep GetComponent :: Type -> Type #

Read GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

Show GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

NFData GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

Methods

rnf :: GetComponent -> () #

Eq GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

Hashable GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

type AWSResponse GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

type Rep GetComponent Source # 
Instance details

Defined in Amazonka.Proton.GetComponent

type Rep GetComponent = D1 ('MetaData "GetComponent" "Amazonka.Proton.GetComponent" "amazonka-proton-2.0-LlJ92rKPVfGGXHsLqGeI74" 'False) (C1 ('MetaCons "GetComponent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newGetComponent Source #

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

GetComponent, getComponent_name - The name of the component that you want to get the detailed data for.

Request Lenses

getComponent_name :: Lens' GetComponent Text Source #

The name of the component that you want to get the detailed data for.

Destructuring the Response

data GetComponentResponse Source #

See: newGetComponentResponse smart constructor.

Constructors

GetComponentResponse' 

Fields

newGetComponentResponse Source #

Create a value of GetComponentResponse 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:component:GetComponentResponse', getComponentResponse_component - The detailed data of the requested component.

$sel:httpStatus:GetComponentResponse', getComponentResponse_httpStatus - The response's http status code.

Response Lenses

getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component) Source #

The detailed data of the requested component.