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 an infrastructure configuration.
Synopsis
- data GetInfrastructureConfiguration = GetInfrastructureConfiguration' {}
- newGetInfrastructureConfiguration :: Text -> GetInfrastructureConfiguration
- getInfrastructureConfiguration_infrastructureConfigurationArn :: Lens' GetInfrastructureConfiguration Text
- data GetInfrastructureConfigurationResponse = GetInfrastructureConfigurationResponse' {}
- newGetInfrastructureConfigurationResponse :: Int -> GetInfrastructureConfigurationResponse
- getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text)
- getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration)
- getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int
Creating a Request
data GetInfrastructureConfiguration Source #
GetInfrastructureConfiguration request object.
See: newGetInfrastructureConfiguration
smart constructor.
GetInfrastructureConfiguration' | |
|
Instances
newGetInfrastructureConfiguration Source #
:: Text |
|
-> GetInfrastructureConfiguration |
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:
$sel:infrastructureConfigurationArn: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.
GetInfrastructureConfigurationResponse' | |
|
Instances
newGetInfrastructureConfigurationResponse Source #
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:
$sel:requestId:GetInfrastructureConfigurationResponse'
, getInfrastructureConfigurationResponse_requestId
- The request ID that uniquely identifies this request.
$sel:infrastructureConfiguration:GetInfrastructureConfigurationResponse'
, getInfrastructureConfigurationResponse_infrastructureConfiguration
- The infrastructure configuration object.
$sel:httpStatus:GetInfrastructureConfigurationResponse'
, getInfrastructureConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
getInfrastructureConfigurationResponse_requestId :: Lens' GetInfrastructureConfigurationResponse (Maybe Text) Source #
The request ID that uniquely identifies this request.
getInfrastructureConfigurationResponse_infrastructureConfiguration :: Lens' GetInfrastructureConfigurationResponse (Maybe InfrastructureConfiguration) Source #
The infrastructure configuration object.
getInfrastructureConfigurationResponse_httpStatus :: Lens' GetInfrastructureConfigurationResponse Int Source #
The response's http status code.