Provides a boto3 client class by the same name with a disconnect method for disconnecting websocket clients.
The boto3 client for managing API Gateway connected websockets provides a mechanism for posting data back to a client, but does not provide a mechanism for forcing the disconnect of a client. It is left up to the developer to build a signature version 4 authentication and make the DELETE call themselves.
This package creates a boto3 client class called apigatewaydisconnectapi that supports disconnecting a client. The client object is created in the same way that the apigatewaymanagementapi is created.
class ApiGatewayDisconnectApi.Client
A low-level client representing ApiGatewayDisconnectApi
import apigatewaydisconnectapi import boto3 client = boto3.client('apigatewaydisconnectapi')
- disconnect(**kwargs)
Disconnects the specified connection
Request Syntax
response = client.disconnect( ConnectionId='string' )Parameters
ConnectionId (string) –
[REQUIRED]
The identifier of the connection that a specific client is using.
Returns
None
Metadata
Release files for apigatewaydisconnectapi 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| apigatewaydisconnectapi-0.0.1.tar.gz | 3.0 kB | Without provenance | Details for apigatewaydisconnectapi-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| apigatewaydisconnectapi-0.0.1-py2.py3-none-any.whl | Python 3, Python 2 | none | any | Details for apigatewaydisconnectapi-0.0.1-py2.py3-none-any.whl |
Total release size: 10.9 kB
Release files / apigatewaydisconnectapi-0.0.1.tar.gz
| Download URL | apigatewaydisconnectapi-0.0.1.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b68efa1cdf02d34f011bc4866fcbea402ca1ea631ec1343bbae04e45e3d9148e
|
|
BLAKE2b-256 checksum How to use checksums |
04d10b39f82e756c7c0efc800357365847c448a73bab9fec3dbcff70572eb492
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.4
|
Release files / apigatewaydisconnectapi-0.0.1-py2.py3-none-any.whl
| Download URL | apigatewaydisconnectapi-0.0.1-py2.py3-none-any.whl |
|---|---|
| Size | 7.9 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b52480070bef17547346b926f7bb69fdd8be95b2173230dca8f5445674ea727a
|
|
BLAKE2b-256 checksum How to use checksums |
0b8197d7436881263dabea24ca382ba7f76d2334870ca4e2e0db49cc77a392bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.1.0 requests-toolbelt/0.8.0 tqdm/4.33.0 CPython/3.7.4
|
Security for apigatewaydisconnectapi 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.