SecurityHub / Client / connector_registrations_v2
connector_registrations_v2¶
- SecurityHub.Client.connector_registrations_v2(**kwargs)¶
Grants permission to complete the authorization based on input parameters. This API is in preview release and subject to change.
See also: AWS API Documentation
Request Syntax
response = client.connector_registrations_v2( AuthCode='string', AuthState='string' )
- Parameters:
AuthCode (string) –
[REQUIRED]
The authCode retrieved from authUrl to complete the OAuth 2.0 authorization code flow.
AuthState (string) –
[REQUIRED]
The authState retrieved from authUrl to complete the OAuth 2.0 authorization code flow.
- Return type:
dict
- Returns:
Response Syntax
{ 'ConnectorArn': 'string', 'ConnectorId': 'string' }
Response Structure
(dict) –
ConnectorArn (string) –
The Amazon Resource Name (ARN) of the connectorV2.
ConnectorId (string) –
The UUID of the connectorV2 to identify connectorV2 resource.
Exceptions