| 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.ApplicationInsights.UpdateComponent
Description
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.
Constructors
| UpdateComponent' | |
Fields
| |
Instances
Arguments
| :: 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.
UpdateComponent, updateComponent_resourceGroupName - The name of the resource group.
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.
Constructors
| UpdateComponentResponse' | |
Fields
| |
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.