Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Gets a component object.
Synopsis
- data GetComponent = GetComponent' {}
- newGetComponent :: Text -> GetComponent
- getComponent_componentBuildVersionArn :: Lens' GetComponent Text
- data GetComponentResponse = GetComponentResponse' {}
- newGetComponentResponse :: Int -> GetComponentResponse
- getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text)
- getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component)
- getComponentResponse_httpStatus :: Lens' GetComponentResponse Int
Creating a Request
data GetComponent Source #
See: newGetComponent
smart constructor.
GetComponent' | |
|
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:
$sel:componentBuildVersionArn:GetComponent'
, getComponent_componentBuildVersionArn
- The Amazon Resource Name (ARN) of the component that you want to
retrieve. Regex requires "/\d+$" suffix.
Request Lenses
getComponent_componentBuildVersionArn :: Lens' GetComponent Text Source #
The Amazon Resource Name (ARN) of the component that you want to retrieve. Regex requires "/\d+$" suffix.
Destructuring the Response
data GetComponentResponse Source #
See: newGetComponentResponse
smart constructor.
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:requestId:GetComponentResponse'
, getComponentResponse_requestId
- The request ID that uniquely identifies this request.
$sel:component:GetComponentResponse'
, getComponentResponse_component
- The component object associated with the specified ARN.
$sel:httpStatus:GetComponentResponse'
, getComponentResponse_httpStatus
- The response's http status code.
Response Lenses
getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component) Source #
The component object associated with the specified ARN.
getComponentResponse_httpStatus :: Lens' GetComponentResponse Int Source #
The response's http status code.