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 |
Creates a new Readiness Check.
Synopsis
- data CreateReadinessCheck = CreateReadinessCheck' {
- tags :: Maybe (HashMap Text Text)
- resourceSetName :: Text
- readinessCheckName :: Text
- newCreateReadinessCheck :: Text -> Text -> CreateReadinessCheck
- createReadinessCheck_tags :: Lens' CreateReadinessCheck (Maybe (HashMap Text Text))
- createReadinessCheck_resourceSetName :: Lens' CreateReadinessCheck Text
- createReadinessCheck_readinessCheckName :: Lens' CreateReadinessCheck Text
- data CreateReadinessCheckResponse = CreateReadinessCheckResponse' {
- readinessCheckName :: Maybe Text
- resourceSet :: Maybe Text
- readinessCheckArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newCreateReadinessCheckResponse :: Int -> CreateReadinessCheckResponse
- createReadinessCheckResponse_readinessCheckName :: Lens' CreateReadinessCheckResponse (Maybe Text)
- createReadinessCheckResponse_resourceSet :: Lens' CreateReadinessCheckResponse (Maybe Text)
- createReadinessCheckResponse_readinessCheckArn :: Lens' CreateReadinessCheckResponse (Maybe Text)
- createReadinessCheckResponse_tags :: Lens' CreateReadinessCheckResponse (Maybe (HashMap Text Text))
- createReadinessCheckResponse_httpStatus :: Lens' CreateReadinessCheckResponse Int
Creating a Request
data CreateReadinessCheck Source #
The ReadinessCheck to create
See: newCreateReadinessCheck
smart constructor.
CreateReadinessCheck' | |
|
Instances
newCreateReadinessCheck Source #
:: Text | |
-> Text | |
-> CreateReadinessCheck |
Create a value of CreateReadinessCheck
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:tags:CreateReadinessCheck'
, createReadinessCheck_tags
- Undocumented member.
$sel:resourceSetName:CreateReadinessCheck'
, createReadinessCheck_resourceSetName
- The name of the ResourceSet to check
$sel:readinessCheckName:CreateReadinessCheck'
, createReadinessCheck_readinessCheckName
- The name of the ReadinessCheck to create
Request Lenses
createReadinessCheck_tags :: Lens' CreateReadinessCheck (Maybe (HashMap Text Text)) Source #
Undocumented member.
createReadinessCheck_resourceSetName :: Lens' CreateReadinessCheck Text Source #
The name of the ResourceSet to check
createReadinessCheck_readinessCheckName :: Lens' CreateReadinessCheck Text Source #
The name of the ReadinessCheck to create
Destructuring the Response
data CreateReadinessCheckResponse Source #
See: newCreateReadinessCheckResponse
smart constructor.
CreateReadinessCheckResponse' | |
|
Instances
newCreateReadinessCheckResponse Source #
Create a value of CreateReadinessCheckResponse
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:readinessCheckName:CreateReadinessCheck'
, createReadinessCheckResponse_readinessCheckName
- Name for a ReadinessCheck
$sel:resourceSet:CreateReadinessCheckResponse'
, createReadinessCheckResponse_resourceSet
- Name of the ResourceSet to be checked
$sel:readinessCheckArn:CreateReadinessCheckResponse'
, createReadinessCheckResponse_readinessCheckArn
- Arn associated with ReadinessCheck
$sel:tags:CreateReadinessCheck'
, createReadinessCheckResponse_tags
- Undocumented member.
$sel:httpStatus:CreateReadinessCheckResponse'
, createReadinessCheckResponse_httpStatus
- The response's http status code.
Response Lenses
createReadinessCheckResponse_readinessCheckName :: Lens' CreateReadinessCheckResponse (Maybe Text) Source #
Name for a ReadinessCheck
createReadinessCheckResponse_resourceSet :: Lens' CreateReadinessCheckResponse (Maybe Text) Source #
Name of the ResourceSet to be checked
createReadinessCheckResponse_readinessCheckArn :: Lens' CreateReadinessCheckResponse (Maybe Text) Source #
Arn associated with ReadinessCheck
createReadinessCheckResponse_tags :: Lens' CreateReadinessCheckResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
createReadinessCheckResponse_httpStatus :: Lens' CreateReadinessCheckResponse Int Source #
The response's http status code.