| 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.GetInfrastructureConfiguration
Description
Gets an infrastructure configuration.
Synopsis
- data GetInfrastructureConfiguration = GetInfrastructureConfiguration' {}
- newGetInfrastructureConfiguration :: Text -> GetInfrastructureConfiguration
- getInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' GetInfrastructureConfiguration Text
- data GetInfrastructureConfigurationResponse = GetInfrastructureConfigurationResponse' {}
- newGetInfrastructureConfigurationResponse :: Int -> GetInfrastructureConfigurationResponse
- getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration)
- getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text)
- getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int
Creating a Request
data GetInfrastructureConfiguration Source #
GetInfrastructureConfiguration request object.
See: newGetInfrastructureConfiguration smart constructor.
Constructors
| GetInfrastructureConfiguration' | |
Fields
| |
Instances
newGetInfrastructureConfiguration Source #
Create a value of GetInfrastructureConfiguration 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:
GetInfrastructureConfiguration, getInfrastructureConfiguration_infrastructureConfigurationArn - The Amazon Resource Name (ARN) of the infrastructure configuration that
you want to retrieve.
Request Lenses
getInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' GetInfrastructureConfiguration Text Source #
The Amazon Resource Name (ARN) of the infrastructure configuration that you want to retrieve.
Destructuring the Response
data GetInfrastructureConfigurationResponse Source #
GetInfrastructureConfiguration response object.
See: newGetInfrastructureConfigurationResponse smart constructor.
Constructors
| GetInfrastructureConfigurationResponse' | |
Fields
| |
Instances
newGetInfrastructureConfigurationResponse Source #
Arguments
| :: Int | |
| -> GetInfrastructureConfigurationResponse |
Create a value of GetInfrastructureConfigurationResponse 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:
GetInfrastructureConfigurationResponse, getInfrastructureConfigurationResponse_infrastructureConfiguration - The infrastructure configuration object.
$sel:requestId:GetInfrastructureConfigurationResponse', getInfrastructureConfigurationResponse_requestId - The request ID that uniquely identifies this request.
$sel:httpStatus:GetInfrastructureConfigurationResponse', getInfrastructureConfigurationResponse_httpStatus - The response's http status code.
Response Lenses
getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration) Source #
The infrastructure configuration object.
getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int Source #
The response's http status code.