getAWSOrganizationsAccessStatus method
Get the Access Status for AWS Organization portfolio share feature. This API can only be called by the management account in the organization or by a delegated admin.
May throw ResourceNotFoundException. May throw OperationNotSupportedException.
Implementation
Future<GetAWSOrganizationsAccessStatusOutput>
getAWSOrganizationsAccessStatus() async {
final headers = <String, String>{
'Content-Type': 'application/x-amz-json-1.1',
'X-Amz-Target':
'AWS242ServiceCatalogService.GetAWSOrganizationsAccessStatus'
};
final jsonResponse = await _protocol.send(
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
// TODO queryParams
headers: headers,
);
return GetAWSOrganizationsAccessStatusOutput.fromJson(jsonResponse.body);
}