EventBridge / Client / update_api_destination

update_api_destination#

EventBridge.Client.update_api_destination(**kwargs)#

Updates an API destination.

See also: AWS API Documentation

Request Syntax

response = client.update_api_destination(
    Name='string',
    Description='string',
    ConnectionArn='string',
    InvocationEndpoint='string',
    HttpMethod='POST'|'GET'|'HEAD'|'OPTIONS'|'PUT'|'PATCH'|'DELETE',
    InvocationRateLimitPerSecond=123
)
Parameters:
  • Name (string) –

    [REQUIRED]

    The name of the API destination to update.

  • Description (string) – The name of the API destination to update.

  • ConnectionArn (string) – The ARN of the connection to use for the API destination.

  • InvocationEndpoint (string) – The URL to the endpoint to use for the API destination.

  • HttpMethod (string) – The method to use for the API destination.

  • InvocationRateLimitPerSecond (integer) – The maximum number of invocations per second to send to the API destination.

Return type:

dict

Returns:

Response Syntax

{
    'ApiDestinationArn': 'string',
    'ApiDestinationState': 'ACTIVE'|'INACTIVE',
    'CreationTime': datetime(2015, 1, 1),
    'LastModifiedTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • ApiDestinationArn (string) –

      The ARN of the API destination that was updated.

    • ApiDestinationState (string) –

      The state of the API destination that was updated.

    • CreationTime (datetime) –

      A time stamp for the time that the API destination was created.

    • LastModifiedTime (datetime) –

      A time stamp for the time that the API destination was last modified.

Exceptions