Users¶
This section documents the UsersApi client from openapi_client.api.users_api. The content is generated automatically and updates when new methods are added.
Client¶
To use this API client:
import certifi
import boto3
from openapi_client.amorphic_api_client import AmorphicApiClient
from openapi_client.api.users_api import UsersApi
ssm = boto3.client('ssm')
api_gw_url = ssm.get_parameter(Name='adp/amorphic/config/apigwurl', WithDecryption=False)['Parameter']['Value'] # String type; use WithDecryption=True for SecureString
role_id = ssm.get_parameter(Name='adp/amorphic/config/roleid', WithDecryption=False)['Parameter']['Value'] # String type; use WithDecryption=True for SecureString
client = AmorphicApiClient.create_with_auth(
host=api_gw_url,
role_id=role_id,
ssl_ca_cert=certifi.where(),
ssm_parameter='adp/amorphic/config/pattoken'
)
api = UsersApi(client)
Available Methods¶
- create_user
- create_user_by_admin
- delete_access_request
- delete_notifications
- get_alert_preferences
- get_bulk_user_creation_status
- get_datasets_access_grants_report
- get_system_alert_prefs
- get_user_access_parity_report
- list_access_requests
- list_notification_events
- list_notifications
- list_users
- request_datasets_access_grants_report
- subscribe_alert_preferences
- unsubscribe_alert_preferences
- update_notification_events
- update_notifications
- update_system_alert_prefs