describeIdentityProviderConfiguration method
Future<DescribeIdentityProviderConfigurationResponse>
describeIdentityProviderConfiguration({
- required String organizationId,
Returns detailed information on the current IdC setup for the WorkMail organization.
May throw InvalidParameterException.
May throw OrganizationNotFoundException.
May throw OrganizationStateException.
May throw ResourceNotFoundException.
Parameter organizationId :
The Organization ID.
Implementation
Future<DescribeIdentityProviderConfigurationResponse>
describeIdentityProviderConfiguration({
required String organizationId,
}) async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target': 'WorkMailService.DescribeIdentityProviderConfiguration'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
payload: {
'OrganizationId': organizationId,
},
);
return DescribeIdentityProviderConfigurationResponse.fromJson(
jsonResponse.body);
}