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 |
Amazonka.Detective.DeleteGraph
Description
Disables the specified behavior graph and queues it to be deleted. This operation removes the graph from each member account's list of behavior graphs.
DeleteGraph
can only be called by the administrator account for a
behavior graph.
Synopsis
Creating a Request
data DeleteGraph Source #
See: newDeleteGraph
smart constructor.
Constructors
DeleteGraph' | |
Instances
Arguments
:: Text | |
-> DeleteGraph |
Create a value of DeleteGraph
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:graphArn:DeleteGraph'
, deleteGraph_graphArn
- The ARN of the behavior graph to disable.
Request Lenses
deleteGraph_graphArn :: Lens' DeleteGraph Text Source #
The ARN of the behavior graph to disable.
Destructuring the Response
data DeleteGraphResponse Source #
See: newDeleteGraphResponse
smart constructor.
Constructors
DeleteGraphResponse' | |
Instances
newDeleteGraphResponse :: DeleteGraphResponse Source #
Create a value of DeleteGraphResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.