getPolicyStoreAlias method
Retrieves details about the specified policy store alias.
May throw ResourceNotFoundException.
Parameter aliasName :
Specifies the name of the policy store alias that you want information
about.
Implementation
Future<GetPolicyStoreAliasOutput> getPolicyStoreAlias({
required String aliasName,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.0',
'X-Amz-Target': 'VerifiedPermissions.GetPolicyStoreAlias'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'aliasName': aliasName,
},
);
return GetPolicyStoreAliasOutput.fromJson(jsonResponse.body);
}