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 |
Deletes an agent. To specify which agent to delete, use the Amazon Resource Name (ARN) of the agent in your request. The operation disassociates the agent from your Amazon Web Services account. However, it doesn't delete the agent virtual machine (VM) from your on-premises environment.
Synopsis
Creating a Request
data DeleteAgent Source #
DeleteAgentRequest
See: newDeleteAgent
smart constructor.
Instances
Create a value of DeleteAgent
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:agentArn:DeleteAgent'
, deleteAgent_agentArn
- The Amazon Resource Name (ARN) of the agent to delete. Use the
ListAgents
operation to return a list of agents for your account and
Amazon Web Services Region.
Request Lenses
deleteAgent_agentArn :: Lens' DeleteAgent Text Source #
The Amazon Resource Name (ARN) of the agent to delete. Use the
ListAgents
operation to return a list of agents for your account and
Amazon Web Services Region.
Destructuring the Response
data DeleteAgentResponse Source #
See: newDeleteAgentResponse
smart constructor.
DeleteAgentResponse' | |
|
Instances
newDeleteAgentResponse Source #
Create a value of DeleteAgentResponse
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:DeleteAgentResponse'
, deleteAgentResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAgentResponse_httpStatus :: Lens' DeleteAgentResponse Int Source #
The response's http status code.