update_agent

update_agent(**kwargs)

Updates the name of an agent.

See also: AWS API Documentation

Request Syntax

response = client.update_agent(
    AgentArn='string',
    Name='string'
)
Parameters
  • AgentArn (string) --

    [REQUIRED]

    The Amazon Resource Name (ARN) of the agent to update.

  • Name (string) -- The name that you want to use to configure the agent.
Return type

dict

Returns

Response Syntax

{}

Response Structure

  • (dict) --

Exceptions

  • DataSync.Client.exceptions.InvalidRequestException
  • DataSync.Client.exceptions.InternalException