| 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.DataSync.DeleteAgent
Description
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.
Constructors
| DeleteAgent' | |
Instances
Arguments
| :: Text | |
| -> DeleteAgent |
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:
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.
Constructors
| DeleteAgentResponse' | |
Fields
| |
Instances
newDeleteAgentResponse Source #
Arguments
| :: Int | |
| -> DeleteAgentResponse |
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.