Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Attaches the rules package specified by the rules package ARN to the assessment specified by the assessment ARN.
See: AWS API Reference for AttachAssessmentAndRulesPackage.
- attachAssessmentAndRulesPackage :: AttachAssessmentAndRulesPackage
- data AttachAssessmentAndRulesPackage
- aaarpAssessmentARN :: Lens' AttachAssessmentAndRulesPackage (Maybe Text)
- aaarpRulesPackageARN :: Lens' AttachAssessmentAndRulesPackage (Maybe Text)
- attachAssessmentAndRulesPackageResponse :: Int -> AttachAssessmentAndRulesPackageResponse
- data AttachAssessmentAndRulesPackageResponse
- aaarprsMessage :: Lens' AttachAssessmentAndRulesPackageResponse (Maybe Text)
- aaarprsResponseStatus :: Lens' AttachAssessmentAndRulesPackageResponse Int
Creating a Request
attachAssessmentAndRulesPackage :: AttachAssessmentAndRulesPackage Source
Creates a value of AttachAssessmentAndRulesPackage
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachAssessmentAndRulesPackage Source
See: attachAssessmentAndRulesPackage
smart constructor.
Request Lenses
aaarpAssessmentARN :: Lens' AttachAssessmentAndRulesPackage (Maybe Text) Source
The ARN specifying the assessment to which you want to attach a rules package.
aaarpRulesPackageARN :: Lens' AttachAssessmentAndRulesPackage (Maybe Text) Source
The ARN specifying the rules package that you want to attach to the assessment.
Destructuring the Response
attachAssessmentAndRulesPackageResponse Source
Creates a value of AttachAssessmentAndRulesPackageResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachAssessmentAndRulesPackageResponse Source
See: attachAssessmentAndRulesPackageResponse
smart constructor.
Response Lenses
aaarprsMessage :: Lens' AttachAssessmentAndRulesPackageResponse (Maybe Text) Source
Confirmation details of the action performed.
aaarprsResponseStatus :: Lens' AttachAssessmentAndRulesPackageResponse Int Source
The response status code.