getBlockPublicAccessConfiguration method

Future<GetBlockPublicAccessConfigurationOutput> getBlockPublicAccessConfiguration()

Returns the Amazon EMR block public access configuration for your AWS account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.

May throw InternalServerException. May throw InvalidRequestException.

Implementation

Future<GetBlockPublicAccessConfigurationOutput>
    getBlockPublicAccessConfiguration() async {
  final headers = <String, String>{
    'Content-Type': 'application/x-amz-json-1.1',
    'X-Amz-Target': 'ElasticMapReduce.GetBlockPublicAccessConfiguration'
  };
  final jsonResponse = await _protocol.send(
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    // TODO queryParams
    headers: headers,
  );

  return GetBlockPublicAccessConfigurationOutput.fromJson(jsonResponse.body);
}