getConfigurationProfile method
Retrieve information about a configuration profile.
May throw ResourceNotFoundException. May throw InternalServerException. May throw BadRequestException.
Parameter applicationId
:
The ID of the application that includes the configuration profile you want
to get.
Parameter configurationProfileId
:
The ID of the configuration profile you want to get.
Implementation
Future<ConfigurationProfile> getConfigurationProfile({
required String applicationId,
required String configurationProfileId,
}) async {
ArgumentError.checkNotNull(applicationId, 'applicationId');
ArgumentError.checkNotNull(
configurationProfileId, 'configurationProfileId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/applications/${Uri.encodeComponent(applicationId)}/configurationprofiles/${Uri.encodeComponent(configurationProfileId)}',
exceptionFnMap: _exceptionFns,
);
return ConfigurationProfile.fromJson(response);
}