describeAuthenticationProfile method
This API is in preview release for Connect Customer and is subject to change. To request access to this API, contact Amazon Web Services Support.
Describes the target authentication profile.
May throw InternalServiceException.
May throw InvalidParameterException.
May throw InvalidRequestException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
Parameter authenticationProfileId :
A unique identifier for the authentication profile.
Parameter instanceId :
The identifier of the Connect Customer instance. You can find
the instance ID in the Amazon Resource Name (ARN) of the instance.
Implementation
Future<DescribeAuthenticationProfileResponse> describeAuthenticationProfile({
required String authenticationProfileId,
required String instanceId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/authentication-profiles/${Uri.encodeComponent(instanceId)}/${Uri.encodeComponent(authenticationProfileId)}',
exceptionFnMap: _exceptionFns,
);
return DescribeAuthenticationProfileResponse.fromJson(response);
}