| 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.Lightsail.IsVpcPeered
Description
Returns a Boolean value indicating whether your Lightsail VPC is peered.
Synopsis
- data IsVpcPeered = IsVpcPeered' {
- newIsVpcPeered :: IsVpcPeered
- data IsVpcPeeredResponse = IsVpcPeeredResponse' {
- isPeered :: Maybe Bool
- httpStatus :: Int
- newIsVpcPeeredResponse :: Int -> IsVpcPeeredResponse
- isVpcPeeredResponse_isPeered :: Lens' IsVpcPeeredResponse (Maybe Bool)
- isVpcPeeredResponse_httpStatus :: Lens' IsVpcPeeredResponse Int
Creating a Request
data IsVpcPeered Source #
See: newIsVpcPeered smart constructor.
Constructors
| IsVpcPeered' | |
Instances
newIsVpcPeered :: IsVpcPeered Source #
Create a value of IsVpcPeered with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
Destructuring the Response
data IsVpcPeeredResponse Source #
See: newIsVpcPeeredResponse smart constructor.
Constructors
| IsVpcPeeredResponse' | |
Fields
| |
Instances
newIsVpcPeeredResponse Source #
Arguments
| :: Int | |
| -> IsVpcPeeredResponse |
Create a value of IsVpcPeeredResponse 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:isPeered:IsVpcPeeredResponse', isVpcPeeredResponse_isPeered - Returns true if the Lightsail VPC is peered; otherwise, false.
$sel:httpStatus:IsVpcPeeredResponse', isVpcPeeredResponse_httpStatus - The response's http status code.
Response Lenses
isVpcPeeredResponse_isPeered :: Lens' IsVpcPeeredResponse (Maybe Bool) Source #
Returns true if the Lightsail VPC is peered; otherwise, false.
isVpcPeeredResponse_httpStatus :: Lens' IsVpcPeeredResponse Int Source #
The response's http status code.