Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Gets the component of an application registered with AWS Systems Manager for SAP.
Synopsis
- data GetComponent = GetComponent' {
- applicationId :: Text
- componentId :: Text
- newGetComponent :: Text -> Text -> GetComponent
- getComponent_applicationId :: Lens' GetComponent Text
- getComponent_componentId :: Lens' GetComponent Text
- data GetComponentResponse = GetComponentResponse' {
- component :: Maybe Component
- httpStatus :: Int
- newGetComponentResponse :: Int -> GetComponentResponse
- getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component)
- getComponentResponse_httpStatus :: Lens' GetComponentResponse Int
Creating a Request
data GetComponent Source #
See: newGetComponent
smart constructor.
Instances
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:
Request Lenses
Destructuring the Response
data GetComponentResponse Source #
See: newGetComponentResponse
smart constructor.
GetComponentResponse' | |
|
Instances
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
-
$sel:httpStatus:GetComponentResponse'
, getComponentResponse_httpStatus
- The response's http status code.
Response Lenses
getComponentResponse_httpStatus :: Lens' GetComponentResponse Int Source #
The response's http status code.