getEnvironmentProfile method
Gets an evinronment profile in Amazon DataZone.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter domainIdentifier :
The ID of the Amazon DataZone domain in which this environment profile
exists.
Parameter identifier :
The ID of the environment profile.
Implementation
Future<GetEnvironmentProfileOutput> getEnvironmentProfile({
required String domainIdentifier,
required String identifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/v2/domains/${Uri.encodeComponent(domainIdentifier)}/environment-profiles/${Uri.encodeComponent(identifier)}',
exceptionFnMap: _exceptionFns,
);
return GetEnvironmentProfileOutput.fromJson(response);
}