getProfile method
Returns information about a specified Route 53 Profile, such as whether whether the Profile is shared, and the current status of the Profile.
May throw AccessDeniedException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter profileId :
ID of the Profile.
Implementation
Future<GetProfileResponse> getProfile({
required String profileId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/profile/${Uri.encodeComponent(profileId)}',
exceptionFnMap: _exceptionFns,
);
return GetProfileResponse.fromJson(response);
}