Copyright | (c) 2013-2016 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 |
Creates a new assessment target using the ARN of the resource group that is generated by CreateResourceGroup. You can create up to 50 assessment targets per AWS account. You can run up to 500 concurrent agents per AWS account. For more information, see Amazon Inspector Assessment Targets.
- createAssessmentTarget :: Text -> Text -> CreateAssessmentTarget
- data CreateAssessmentTarget
- catAssessmentTargetName :: Lens' CreateAssessmentTarget Text
- catResourceGroupARN :: Lens' CreateAssessmentTarget Text
- createAssessmentTargetResponse :: Int -> Text -> CreateAssessmentTargetResponse
- data CreateAssessmentTargetResponse
- catrsResponseStatus :: Lens' CreateAssessmentTargetResponse Int
- catrsAssessmentTargetARN :: Lens' CreateAssessmentTargetResponse Text
Creating a Request
createAssessmentTarget Source #
Creates a value of CreateAssessmentTarget
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAssessmentTarget Source #
See: createAssessmentTarget
smart constructor.
Request Lenses
catAssessmentTargetName :: Lens' CreateAssessmentTarget Text Source #
The user-defined name that identifies the assessment target that you want to create. The name must be unique within the AWS account.
catResourceGroupARN :: Lens' CreateAssessmentTarget Text Source #
The ARN that specifies the resource group that is used to create the assessment target.
Destructuring the Response
createAssessmentTargetResponse Source #
Creates a value of CreateAssessmentTargetResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CreateAssessmentTargetResponse Source #
See: createAssessmentTargetResponse
smart constructor.
Response Lenses
catrsResponseStatus :: Lens' CreateAssessmentTargetResponse Int Source #
The response status code.
catrsAssessmentTargetARN :: Lens' CreateAssessmentTargetResponse Text Source #
The ARN that specifies the assessment target that is created.