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 |
Creates a custom component by grouping similar standalone instances to monitor.
Synopsis
- data CreateComponent = CreateComponent' {
- resourceGroupName :: Text
- componentName :: Text
- resourceList :: [Text]
- newCreateComponent :: Text -> Text -> CreateComponent
- createComponent_resourceGroupName :: Lens' CreateComponent Text
- createComponent_componentName :: Lens' CreateComponent Text
- createComponent_resourceList :: Lens' CreateComponent [Text]
- data CreateComponentResponse = CreateComponentResponse' {
- httpStatus :: Int
- newCreateComponentResponse :: Int -> CreateComponentResponse
- createComponentResponse_httpStatus :: Lens' CreateComponentResponse Int
Creating a Request
data CreateComponent Source #
See: newCreateComponent
smart constructor.
CreateComponent' | |
|
Instances
:: Text | |
-> Text | |
-> CreateComponent |
Create a value of CreateComponent
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:resourceGroupName:CreateComponent'
, createComponent_resourceGroupName
- The name of the resource group.
$sel:componentName:CreateComponent'
, createComponent_componentName
- The name of the component.
$sel:resourceList:CreateComponent'
, createComponent_resourceList
- The list of resource ARNs that belong to the component.
Request Lenses
createComponent_resourceGroupName :: Lens' CreateComponent Text Source #
The name of the resource group.
createComponent_componentName :: Lens' CreateComponent Text Source #
The name of the component.
createComponent_resourceList :: Lens' CreateComponent [Text] Source #
The list of resource ARNs that belong to the component.
Destructuring the Response
data CreateComponentResponse Source #
See: newCreateComponentResponse
smart constructor.
CreateComponentResponse' | |
|
Instances
newCreateComponentResponse Source #
Create a value of CreateComponentResponse
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:CreateComponentResponse'
, createComponentResponse_httpStatus
- The response's http status code.
Response Lenses
createComponentResponse_httpStatus :: Lens' CreateComponentResponse Int Source #
The response's http status code.