Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.DevOpsGuru.UpdateResourceCollection
Description
Updates the collection of resources that DevOps Guru analyzes. The two types of Amazon Web Services resource collections supported are Amazon Web Services CloudFormation stacks and Amazon Web Services resources that contain the same Amazon Web Services tag. DevOps Guru can be configured to analyze the Amazon Web Services resources that are defined in the stacks or that are tagged using the same tag key. You can specify up to 500 Amazon Web Services 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.
Constructors
UpdateResourceCollection' | |
Fields
|
Instances
newUpdateResourceCollection Source #
Arguments
:: UpdateResourceCollectionAction | |
-> UpdateResourceCollectionFilter | |
-> UpdateResourceCollection |
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.
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.
Constructors
UpdateResourceCollectionResponse' | |
Fields
|
Instances
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.