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 |
Updates the name of an agent.
Synopsis
- data UpdateAgent = UpdateAgent' {}
- newUpdateAgent :: Text -> UpdateAgent
- updateAgent_name :: Lens' UpdateAgent (Maybe Text)
- updateAgent_agentArn :: Lens' UpdateAgent Text
- data UpdateAgentResponse = UpdateAgentResponse' {
- httpStatus :: Int
- newUpdateAgentResponse :: Int -> UpdateAgentResponse
- updateAgentResponse_httpStatus :: Lens' UpdateAgentResponse Int
Creating a Request
data UpdateAgent Source #
UpdateAgentRequest
See: newUpdateAgent
smart constructor.
Instances
Create a value of UpdateAgent
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:name:UpdateAgent'
, updateAgent_name
- The name that you want to use to configure the agent.
$sel:agentArn:UpdateAgent'
, updateAgent_agentArn
- The Amazon Resource Name (ARN) of the agent to update.
Request Lenses
updateAgent_name :: Lens' UpdateAgent (Maybe Text) Source #
The name that you want to use to configure the agent.
updateAgent_agentArn :: Lens' UpdateAgent Text Source #
The Amazon Resource Name (ARN) of the agent to update.
Destructuring the Response
data UpdateAgentResponse Source #
See: newUpdateAgentResponse
smart constructor.
UpdateAgentResponse' | |
|
Instances
newUpdateAgentResponse Source #
Create a value of UpdateAgentResponse
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:UpdateAgentResponse'
, updateAgentResponse_httpStatus
- The response's http status code.
Response Lenses
updateAgentResponse_httpStatus :: Lens' UpdateAgentResponse Int Source #
The response's http status code.