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 an existing Resource Set.
Synopsis
- data UpdateResourceSet = UpdateResourceSet' {
- resourceSetName :: Text
- resourceSetType :: Text
- resources :: [Resource]
- newUpdateResourceSet :: Text -> Text -> UpdateResourceSet
- updateResourceSet_resourceSetName :: Lens' UpdateResourceSet Text
- updateResourceSet_resourceSetType :: Lens' UpdateResourceSet Text
- updateResourceSet_resources :: Lens' UpdateResourceSet [Resource]
- data UpdateResourceSetResponse = UpdateResourceSetResponse' {
- resourceSetName :: Maybe Text
- resourceSetType :: Maybe Text
- resources :: Maybe [Resource]
- resourceSetArn :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- httpStatus :: Int
- newUpdateResourceSetResponse :: Int -> UpdateResourceSetResponse
- updateResourceSetResponse_resourceSetName :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_resourceSetType :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_resources :: Lens' UpdateResourceSetResponse (Maybe [Resource])
- updateResourceSetResponse_resourceSetArn :: Lens' UpdateResourceSetResponse (Maybe Text)
- updateResourceSetResponse_tags :: Lens' UpdateResourceSetResponse (Maybe (HashMap Text Text))
- updateResourceSetResponse_httpStatus :: Lens' UpdateResourceSetResponse Int
Creating a Request
data UpdateResourceSet Source #
configuration for the desired
See: newUpdateResourceSet
smart constructor.
UpdateResourceSet' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateResourceSet |
Create a value of UpdateResourceSet
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:resourceSetName:UpdateResourceSet'
, updateResourceSet_resourceSetName
- The ResourceSet to update
$sel:resourceSetType:UpdateResourceSet'
, updateResourceSet_resourceSetType
- AWS Resource Type of the resources in the ResourceSet
$sel:resources:UpdateResourceSet'
, updateResourceSet_resources
- A list of Resource objects
Request Lenses
updateResourceSet_resourceSetName :: Lens' UpdateResourceSet Text Source #
The ResourceSet to update
updateResourceSet_resourceSetType :: Lens' UpdateResourceSet Text Source #
AWS Resource Type of the resources in the ResourceSet
updateResourceSet_resources :: Lens' UpdateResourceSet [Resource] Source #
A list of Resource objects
Destructuring the Response
data UpdateResourceSetResponse Source #
See: newUpdateResourceSetResponse
smart constructor.
UpdateResourceSetResponse' | |
|
Instances
newUpdateResourceSetResponse Source #
Create a value of UpdateResourceSetResponse
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:resourceSetName:UpdateResourceSet'
, updateResourceSetResponse_resourceSetName
- The name of the ResourceSet
$sel:resourceSetType:UpdateResourceSet'
, updateResourceSetResponse_resourceSetType
- AWS Resource Type of the resources in the ResourceSet
$sel:resources:UpdateResourceSet'
, updateResourceSetResponse_resources
- A list of Resource objects
$sel:resourceSetArn:UpdateResourceSetResponse'
, updateResourceSetResponse_resourceSetArn
- The arn for the ResourceSet
$sel:tags:UpdateResourceSetResponse'
, updateResourceSetResponse_tags
- Undocumented member.
$sel:httpStatus:UpdateResourceSetResponse'
, updateResourceSetResponse_httpStatus
- The response's http status code.
Response Lenses
updateResourceSetResponse_resourceSetName :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
The name of the ResourceSet
updateResourceSetResponse_resourceSetType :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
AWS Resource Type of the resources in the ResourceSet
updateResourceSetResponse_resources :: Lens' UpdateResourceSetResponse (Maybe [Resource]) Source #
A list of Resource objects
updateResourceSetResponse_resourceSetArn :: Lens' UpdateResourceSetResponse (Maybe Text) Source #
The arn for the ResourceSet
updateResourceSetResponse_tags :: Lens' UpdateResourceSetResponse (Maybe (HashMap Text Text)) Source #
Undocumented member.
updateResourceSetResponse_httpStatus :: Lens' UpdateResourceSetResponse Int Source #
The response's http status code.