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 custom component name and/or the list of resources that make up the component.
Synopsis
- data UpdateComponent = UpdateComponent' {}
- newUpdateComponent :: Text -> Text -> UpdateComponent
- updateComponent_newComponentName :: Lens' UpdateComponent (Maybe Text)
- updateComponent_resourceList :: Lens' UpdateComponent (Maybe [Text])
- updateComponent_resourceGroupName :: Lens' UpdateComponent Text
- updateComponent_componentName :: Lens' UpdateComponent Text
- data UpdateComponentResponse = UpdateComponentResponse' {
- httpStatus :: Int
- newUpdateComponentResponse :: Int -> UpdateComponentResponse
- updateComponentResponse_httpStatus :: Lens' UpdateComponentResponse Int
Creating a Request
data UpdateComponent Source #
See: newUpdateComponent
smart constructor.
UpdateComponent' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateComponent |
Create a value of UpdateComponent
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:newComponentName':UpdateComponent'
, updateComponent_newComponentName
- The new name of the component.
$sel:resourceList:UpdateComponent'
, updateComponent_resourceList
- The list of resource ARNs that belong to the component.
$sel:resourceGroupName:UpdateComponent'
, updateComponent_resourceGroupName
- The name of the resource group.
$sel:componentName:UpdateComponent'
, updateComponent_componentName
- The name of the component.
Request Lenses
updateComponent_newComponentName :: Lens' UpdateComponent (Maybe Text) Source #
The new name of the component.
updateComponent_resourceList :: Lens' UpdateComponent (Maybe [Text]) Source #
The list of resource ARNs that belong to the component.
updateComponent_resourceGroupName :: Lens' UpdateComponent Text Source #
The name of the resource group.
updateComponent_componentName :: Lens' UpdateComponent Text Source #
The name of the component.
Destructuring the Response
data UpdateComponentResponse Source #
See: newUpdateComponentResponse
smart constructor.
UpdateComponentResponse' | |
|
Instances
newUpdateComponentResponse Source #
Create a value of UpdateComponentResponse
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:UpdateComponentResponse'
, updateComponentResponse_httpStatus
- The response's http status code.
Response Lenses
updateComponentResponse_httpStatus :: Lens' UpdateComponentResponse Int Source #
The response's http status code.