Rmmp

abb_rws_client_python_rw6.rws.users.rmmp

RWS module: User Service → Operations on RMMP → Get RMMP state

1:1 mirror of the ABB RobotWare 6 REST API. Each function maps to exactly one HTTP endpoint. No composed logic — see highlevel/ for wrappers.

cancel_held_or_requested_rmmp(client, action=None) async

Cancel held or requested RMMP.

Route: POST /users/rmmp ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • action (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 204.

Raises:
Example
>>> await cancel_held_or_requested_rmmp(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
async def cancel_held_or_requested_rmmp(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Cancel held or requested RMMP.

    Route: ``POST /users/rmmp``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 204.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.

    Example:
        ```python
        >>> await cancel_held_or_requested_rmmp(client)
        <Response [204]>
        ```
    """
    return await client.post(
        "/users/rmmp",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={},
    )

get_rmmp_actions(client, action=None) async

Get RMMP Actions.

Route: GET /users/rmmp ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • action (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rmmp_actions(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
async def get_rmmp_actions(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Get RMMP Actions.

    Route: ``GET /users/rmmp``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.

    Example:
        ```python
        >>> await get_rmmp_actions(client)
        <Response [200]>
        ```
    """
    return await client.get(
        "/users/rmmp",
        params={k: v for k, v in {"action": action}.items() if v is not None},
    )

get_rmmp_state(client) async

Get RMMP state.

Route: GET /users/rmmp ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await get_rmmp_state(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
async def get_rmmp_state(client: RWSClient) -> httpx.Response:
    """
    Get RMMP state.

    Route: ``GET /users/rmmp``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.

    Example:
        ```python
        >>> await get_rmmp_state(client)
        <Response [200]>
        ```
    """
    return await client.get("/users/rmmp")

grant_or_deny_an_rmmp_request(client, action=None) async

Grant or deny an RMMP request.

Route: POST /users/rmmp ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • action (str | None, default: None ) –

    Query parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 204.

Raises:
Example
>>> await grant_or_deny_an_rmmp_request(client)
<Response [204]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
async def grant_or_deny_an_rmmp_request(
    client: RWSClient,
    action: str | None = None,
) -> httpx.Response:
    """
    Grant or deny an RMMP request.

    Route: ``POST /users/rmmp``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.
        action: Query parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 204.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)

    Example:
        ```python
        >>> await grant_or_deny_an_rmmp_request(client)
        <Response [204]>
        ```
    """
    return await client.post(
        "/users/rmmp",
        params={k: v for k, v in {"action": action}.items() if v is not None},
        data={},
    )

poll_for_rmmp_grant_status(client) async

Poll for RMMP grant status.

Route: GET /users/rmmp/poll ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 200.

Raises:
Example
>>> await poll_for_rmmp_grant_status(client)
<Response [200]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
async def poll_for_rmmp_grant_status(client: RWSClient) -> httpx.Response:
    """
    Poll for RMMP grant status.

    Route: ``GET /users/rmmp/poll``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 200.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: BAD REQUEST(400)

    Example:
        ```python
        >>> await poll_for_rmmp_grant_status(client)
        <Response [200]>
        ```
    """
    return await client.get("/users/rmmp/poll")

request_rmmp(client) async

Request RMMP.

Route: POST /users/rmmp ABB constraints: Not Supported in bootserver mode

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 202.

Raises:
Example
>>> await request_rmmp(client)
<Response [202]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
async def request_rmmp(client: RWSClient) -> httpx.Response:
    """
    Request RMMP.

    Route: ``POST /users/rmmp``
    ABB constraints: Not Supported in bootserver mode

    Args:
        client: Open RWSClient instance.

    Returns:
        Raw HTTP response. Expected success: HTTP 202.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)

    Example:
        ```python
        >>> await request_rmmp(client)
        <Response [202]>
        ```
    """
    return await client.post(
        "/users/rmmp",
        data={},
    )

subscribe_on_rmmp_request_event(client, identifier=None, identifier_p=None) async

Subscribe on RMMP Request event.

Route: POST /subscription ABB constraints: Not supported in bootserver mode.

Parameters:
  • client (RWSClient) –

    Open RWSClient instance.

  • identifier (str | None, default: None ) –

    Body parameter. Optional.

  • identifier_p (str | None, default: None ) –

    Body parameter. Optional.

Returns:
  • Response –

    Raw HTTP response. Expected success: HTTP 201.

Raises:
Example
>>> await subscribe_on_rmmp_request_event(client)
<Response [201]>
Source code in abb_rws_client_python_rw6/rws/users/rmmp.py
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
async def subscribe_on_rmmp_request_event(
    client: RWSClient,
    identifier: str | None = None,
    identifier_p: str | None = None,
) -> httpx.Response:
    """
    Subscribe on RMMP Request event.

    Route: ``POST /subscription``
    ABB constraints: Not supported in bootserver mode.

    Args:
        client: Open RWSClient instance.
        identifier: Body parameter. Optional.
        identifier_p: Body parameter. Optional.

    Returns:
        Raw HTTP response. Expected success: HTTP 201.

    Raises:
        RWSAuthenticationError: On HTTP 401.
        RWSNotFoundError: On HTTP 404.
        RWSHTTPError: On any other HTTP >= 400.
        # ABB codes: UNSUPPORTED_MEDIA(415), BAD_REQUEST(400)

    Example:
        ```python
        >>> await subscribe_on_rmmp_request_event(client)
        <Response [201]>
        ```
    """
    return await client.post(
        "/subscription",
        data={
            k: v
            for k, v in {"identifier": identifier, "identifier_p": identifier_p}.items()
            if v is not None
        },
    )