deleteRolePermissionsBoundary method

Future<void> deleteRolePermissionsBoundary({
  1. required String roleName,
})

Deletes the permissions boundary for the specified IAM role.

You cannot set the boundary for a service-linked role.

May throw NoSuchEntityException. May throw ServiceFailureException. May throw UnmodifiableEntityException.

Parameter roleName : The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.

Implementation

Future<void> deleteRolePermissionsBoundary({
  required String roleName,
}) async {
  final $request = <String, String>{
    'RoleName': roleName,
  };
  await _protocol.send(
    $request,
    action: 'DeleteRolePermissionsBoundary',
    version: '2010-05-08',
    method: 'POST',
    requestUri: '/',
    exceptionFnMap: _exceptionFns,
  );
}