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 |
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.
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.
IsVpcPeeredResponse' | |
|
Instances
newIsVpcPeeredResponse Source #
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.