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 |
Updates the collection of resources that DevOps Guru analyzes. The one type of AWS resource collection supported is AWS CloudFormation stacks. DevOps Guru can be configured to analyze only the AWS resources that are defined in the stacks. You can specify up to 500 AWS CloudFormation stacks. This method also creates the IAM role required for you to use DevOps Guru.
Synopsis
- data UpdateResourceCollection = UpdateResourceCollection' {}
- newUpdateResourceCollection :: UpdateResourceCollectionAction -> UpdateResourceCollectionFilter -> UpdateResourceCollection
- updateResourceCollection_action :: Lens' UpdateResourceCollection UpdateResourceCollectionAction
- updateResourceCollection_resourceCollection :: Lens' UpdateResourceCollection UpdateResourceCollectionFilter
- data UpdateResourceCollectionResponse = UpdateResourceCollectionResponse' {
- httpStatus :: Int
- newUpdateResourceCollectionResponse :: Int -> UpdateResourceCollectionResponse
- updateResourceCollectionResponse_httpStatus :: Lens' UpdateResourceCollectionResponse Int
Creating a Request
data UpdateResourceCollection Source #
See: newUpdateResourceCollection
smart constructor.
UpdateResourceCollection' | |
|
Instances
newUpdateResourceCollection Source #
Create a value of UpdateResourceCollection
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:action:UpdateResourceCollection'
, updateResourceCollection_action
- Specifies if the resource collection in the request is added or deleted
to the resource collection.
$sel:resourceCollection:UpdateResourceCollection'
, updateResourceCollection_resourceCollection
- Undocumented member.
Request Lenses
updateResourceCollection_action :: Lens' UpdateResourceCollection UpdateResourceCollectionAction Source #
Specifies if the resource collection in the request is added or deleted to the resource collection.
updateResourceCollection_resourceCollection :: Lens' UpdateResourceCollection UpdateResourceCollectionFilter Source #
Undocumented member.
Destructuring the Response
data UpdateResourceCollectionResponse Source #
See: newUpdateResourceCollectionResponse
smart constructor.
UpdateResourceCollectionResponse' | |
|
Instances
Eq UpdateResourceCollectionResponse Source # | |
Read UpdateResourceCollectionResponse Source # | |
Show UpdateResourceCollectionResponse Source # | |
Generic UpdateResourceCollectionResponse Source # | |
NFData UpdateResourceCollectionResponse Source # | |
Defined in Amazonka.DevOpsGuru.UpdateResourceCollection rnf :: UpdateResourceCollectionResponse -> () # | |
type Rep UpdateResourceCollectionResponse Source # | |
Defined in Amazonka.DevOpsGuru.UpdateResourceCollection type Rep UpdateResourceCollectionResponse = D1 ('MetaData "UpdateResourceCollectionResponse" "Amazonka.DevOpsGuru.UpdateResourceCollection" "libZSservicesZSamazonka-devops-guruZSamazonka-devops-guru" 'False) (C1 ('MetaCons "UpdateResourceCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newUpdateResourceCollectionResponse Source #
Create a value of UpdateResourceCollectionResponse
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:httpStatus:UpdateResourceCollectionResponse'
, updateResourceCollectionResponse_httpStatus
- The response's http status code.
Response Lenses
updateResourceCollectionResponse_httpStatus :: Lens' UpdateResourceCollectionResponse Int Source #
The response's http status code.