| 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 |
Amazonka.ImageBuilder.GetComponent
Description
Gets a component object.
Synopsis
- data GetComponent = GetComponent' {}
- newGetComponent :: Text -> GetComponent
- getComponent_componentBuildVersionArn :: Lens' GetComponent Text
- data GetComponentResponse = GetComponentResponse' {}
- newGetComponentResponse :: Int -> GetComponentResponse
- getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component)
- getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text)
- getComponentResponse_httpStatus :: Lens' GetComponentResponse Int
Creating a Request
data GetComponent Source #
See: newGetComponent smart constructor.
Constructors
| GetComponent' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> GetComponent |
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.
Constructors
| GetComponentResponse' | |
Instances
newGetComponentResponse Source #
Arguments
| :: Int | |
| -> GetComponentResponse |
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 component object associated with the specified ARN.
$sel:requestId:GetComponentResponse', getComponentResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetComponentResponse', getComponentResponse_httpStatus - The response's http status code.
Response Lenses
getComponentResponse_component :: Lens' GetComponentResponse (Maybe Component) Source #
The component object associated with the specified ARN.
getComponentResponse_requestId :: Lens' GetComponentResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getComponentResponse_httpStatus :: Lens' GetComponentResponse Int Source #
The response's http status code.