Skip to content

UpdateConnectionRequest

Source code in docs_src/capo_direct_connect/types/update_connection_request.py
class UpdateConnectionRequest(TypedDict, closed=True):
    connection_id: "capo_direct_connect.types.connection_id.ConnectionId"
    """<p>The ID of the connection.</p> <p>You can use <a>DescribeConnections</a> to retrieve the connection ID.</p>"""
    connection_name: NotRequired[
        "capo_direct_connect.types.connection_name.ConnectionName"
    ]
    """<p>The name of the connection.</p>"""
    encryption_mode: NotRequired[
        "capo_direct_connect.types.encryption_mode.EncryptionMode"
    ]
    """<p>The connection MAC Security (MACsec) encryption mode.</p> <p>The valid values are <code>no_encrypt</code>, <code>should_encrypt</code>, and <code>must_encrypt</code>.</p>"""

connection_id instance-attribute

connection_id: ConnectionId

The ID of the connection.

You can use DescribeConnections to retrieve the connection ID.

connection_name instance-attribute

connection_name: NotRequired[ConnectionName]

The name of the connection.

encryption_mode instance-attribute

encryption_mode: NotRequired[EncryptionMode]

The connection MAC Security (MACsec) encryption mode.

The valid values are no_encrypt, should_encrypt, and must_encrypt.