EventBridgePipes / Client / stop_pipe

stop_pipe#

EventBridgePipes.Client.stop_pipe(**kwargs)#

Stop an existing pipe.

See also: AWS API Documentation

Request Syntax

response = client.stop_pipe(
    Name='string'
)
Parameters:

Name (string) –

[REQUIRED]

The name of the pipe.

Return type:

dict

Returns:

Response Syntax

{
    'Arn': 'string',
    'Name': 'string',
    'DesiredState': 'RUNNING'|'STOPPED',
    'CurrentState': 'RUNNING'|'STOPPED'|'CREATING'|'UPDATING'|'DELETING'|'STARTING'|'STOPPING'|'CREATE_FAILED'|'UPDATE_FAILED'|'START_FAILED'|'STOP_FAILED'|'DELETE_FAILED'|'CREATE_ROLLBACK_FAILED'|'DELETE_ROLLBACK_FAILED'|'UPDATE_ROLLBACK_FAILED',
    'CreationTime': datetime(2015, 1, 1),
    'LastModifiedTime': datetime(2015, 1, 1)
}

Response Structure

  • (dict) –

    • Arn (string) –

      The ARN of the pipe.

    • Name (string) –

      The name of the pipe.

    • DesiredState (string) –

      The state the pipe should be in.

    • CurrentState (string) –

      The state the pipe is in.

    • CreationTime (datetime) –

      The time the pipe was created.

    • LastModifiedTime (datetime) –

      When the pipe was last updated, in ISO-8601 format (YYYY-MM-DDThh:mm:ss.sTZD).

Exceptions