describeAccountAttributes method

Future<AccountAttributeList> describeAccountAttributes(
  1. {List<String> attributeNames}
)

Returns a list of attributes attached to an account

Parameter attributeNames : A list of attribute names.

Implementation

Future<AccountAttributeList> describeAccountAttributes({
  List<String> attributeNames,
}) async {
  final $request = <String, dynamic>{};
  attributeNames?.also((arg) => $request['AttributeNames'] = arg);
  final $result = await _protocol.send(
    $request,
    action: 'DescribeAccountAttributes',
    version: '2012-12-01',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
    shape: shapes['DescribeAccountAttributesMessage'],
    shapes: shapes,
    resultWrapper: 'DescribeAccountAttributesResult',
  );
  return AccountAttributeList.fromXml($result);
}